code: def get_objects_with_object(self, obj_type, *child_types):
          
  
          return [o for o in self.get_objects_by_type(obj_type) if
                  o.get_objects_by_type(*child_types)]
docs: :param obj_type: requested object type.
          :param child_type: requested child types.
          :return: all children of the requested type that have the requested child types.