Check if object being passed in is an instance of the DisplayObjectContainer class.