code: def _get_base(obj):
      """Unwrap decorators to retrieve the base object.
  
      Parameters
      ----------
      obj : object
          Object.
  
      Returns
      -------
      object
          The base object found or the input object otherwise.
      """
      if hasattr(obj, "__func__"):
          obj = obj.__func__
      elif isinstance(obj, property):
          obj = obj.fget
      elif isinstance(obj, (classmethod, staticmethod)):
          # Fallback for Python < 2.7 back when no `__func__` attribute
          # was defined for those descriptors.
          obj = obj.__get__(None, object)
      else:
          return obj
  
      return _get_base(obj)
  
imports: import collections
  import copy
  import inspect
  import logging
  import pkgutil
  import sys
  import types
label_desc: Use image node_id 14 for calling a global function with example usage: _get_base(obj) and returns: _get_base, obj