code: def get_unpatched(item):
      lookup = (
          get_unpatched_class
          if isinstance(item, six.class_types)
          else get_unpatched_function
          if isinstance(item, types.FunctionType)
          else lambda item: None
      )
      return lookup(item)
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/monkey.py
imports: import sys
  import distutils.filelist
  import platform
  import types
  import functools
  from importlib import import_module
  import inspect
  from setuptools.extern import six
  import setuptools
label_desc: Use image node_id 2 for calling a global function with example usage: get_unpatched(item) and returns: lookup