@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(targetLayer, "targetLayer", null);
    }
Checks if the specified target is contained within this mask.

@param target The target to check.
@return True if the target is contained within this mask, false otherwise.
jme3-core/src/main/java/com/jme3/anim/SingleLayerInfluenceMask.java