code: def istype(obj, check):
      """like isinstance(obj, check), but strict
  
      This won't catch subclasses.
      """
      if isinstance(check, tuple):
          for cls in check:
              if type(obj) is cls:
                  return True
          return False
      else:
          return type(obj) is check
  
imports: import warnings
  import copy
  import sys
  from types import FunctionType
  from ipython_genutils import py3compat
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types, iteritems, buffer_to_bytes, buffer_to_bytes_py2
  from traitlets.log import get_logger
label_desc: Use image node_id 6 for calling a global function with example usage: istype(obj, check) and returns: False, unknown, True