code: def _get_bound_instance(target):
      """Returns the instance any of the targets is attached to."""
      decorators, target = unwrap(target)
      for decorator in decorators:
          if inspect.ismethod(decorator.decorated_target):
              return decorator.decorated_target.__self__
  
file_path: tensorflow/tensorflow/python/util/tf_decorator.py
imports: import inspect
  from typing import Dict, Any
label_desc: Use image node_id 4 for calling a global function with example usage: _get_bound_instance(target) and returns: decorator