docs: def is_enum_type(type_):
      """ Checks if the given type is an enum type.
  
      :param type_: The type to check
      :return: True if the type is a enum type, otherwise False
      :rtype: bool
      """
  
      return isinstance(type_, type) and issubclass(type_, tuple(_get_types(Types.ENUM)))