def is_object_type(type_):
object_types = _get_types(Types.OBJECT)<EOL>if is_typing_type(type_):<EOL><INDENT>return type_ in object_types or (<EOL>hasattr(type_, "<STR_LIT>") and type_.__origin__ in object_types<EOL>)<EOL><DEDENT>return type_ in object_types<EOL>
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