code: def is_comparable_type(var, type_):
      
      other_types = COMPARABLE_TYPES.get(type_, type_)
      return isinstance(var, other_types)
docs: Check to see if `var` is an instance of known compatible types for `type_`
  
      Args:
          var (?):
          type_ (?):
  
      Returns:
          bool:
  
      CommandLine:
          python -m utool.util_type is_comparable_type --show
  
      Example:
          >>> # DISABLE_DOCTEST
          >>> from utool.util_type import *  # NOQA
          >>> import utool as ut
          >>> flags = []
          >>> flags += [is_comparable_type(0, float)]
          >>> flags += [is_comparable_type(0, np.float32)]
          >>> flags += [is_comparable_type(0, np.int32)]
          >>> flags += [is_comparable_type(0, int)]
          >>> flags += [is_comparable_type(0.0, int)]
          >>> result = ut.repr2(flags)
          >>> print(result)
          [True, True, True, True, False]