code: def isconstructor(cls):
      """Returns True if the argument is an object constructor.
  
      In general, any object of type class is a constructor, with the exception
      of classes created using a callable metaclass.
      See below for why a callable metaclass is not a trivial combination:
      https://docs.python.org/2.7/reference/datamodel.html#customizing-class-creation
  
      Args:
        cls: Any
  
      Returns:
        Bool
      """
      return inspect.isclass(cls) and not (
          issubclass(cls.__class__, type)
          and hasattr(cls.__class__, "__call__")
          and cls.__class__.__call__ is not type.__call__
      )
  
file_path: tensorflow/tensorflow/python/autograph/pyct/inspect_utils.py
imports: import builtins
  import inspect
  import itertools
  import linecache
  import sys
  import threading
  import types
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 4 for calling a global function with example usage: isconstructor(cls) and returns: unknown