Testing if a object is in a other object?

Hello

I am writing a script wich tests if a objects overlapps an other object and that is working fine, but when the object is in the other object it is not working with this code. So my question is, if there is a possibility to test if an object is compitly in an other object hidden?

Thank you very much for your help.

Not easily. It would be simpler to test if the object’s bounding boxes overlapped.