docs: def is_object_type(type_):
      """ Checks if the given type is a object type.
  
      :param type_: The type to check
      :return: True if the type is a object type, otherwise False
      :rtype: bool
      """
  
      object_types = _get_types(Types.OBJECT)
      if is_typing_type(type_):
          return type_ in object_types or (
              hasattr(type_, "__origin__") and type_.__origin__ in object_types
          )
      return type_ in object_types