code: def ismethod(object):
      """Return true if the object is an instance method.
  
      Instance method objects provide these attributes:
          __doc__         documentation string
          __name__        name with which this method was defined
          im_class        class object in which this method belongs
          im_func         function object containing implementation of method
          im_self         instance to which this method is bound, or None
  
      """
      return isinstance(object, types.MethodType)
  
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 1 for calling a global function with example usage: ismethod(object) and returns: isinstance