@Override
    public boolean contains(Object target) {
        return simpleContains(target) && (animComposer == null || !isAffectedByUpperLayers(target));
    }
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