code: def _is_class_instance(obj):
      """Like inspect.* methods."""
      try:
          cls = obj.__class__
      except AttributeError:
          return False
      else:
          return cls != type and not issubclass(cls, NOT_CLASS_TYPES)
  
imports: import inspect
  import types
  import sys
  from textwrap import dedent
  import operator
  from collections import namedtuple
  from jedi._compatibility import unicode, is_py3, builtins, py_version, force_unicode, print_to_stderr
  from jedi.evaluate.compiled.getattr_static import getattr_static
label_desc: Use image node_id 8 for calling a global function with example usage: _is_class_instance(obj) and returns: unknown, False