code: def isfunction(object):
      """Return true if the object is a user-defined function.
  
      Function objects provide these attributes:
          __doc__         documentation string
          __name__        name with which this function was defined
          func_code       code object containing compiled function bytecode
          func_defaults   tuple of any default values for arguments
          func_doc        (same as __doc__)
          func_globals    global namespace in which this function was defined
          func_name       (same as __name__)
  
      """
      return isinstance(object, types.FunctionType)
  
file_path: catboost/contrib/python/numpy/py2/numpy/compat/_inspect.py
imports: from __future__ import division, absolute_import, print_function
  import types
label_desc: Use image node_id 2 for calling a global function with example usage: isfunction(object) and returns: isinstance