code: def unbind_method(f):
      """Take something that might be a method or a function and return the
      underlying function."""
      return getattr(f, "im_func", getattr(f, "__func__", f))
  
imports: from __future__ import absolute_import, division, print_function
  import ast
  import hashlib
  import inspect
  import re
  import types
  from functools import wraps
  from types import ModuleType
  from hypothesis.internal.compat import ARG_NAME_ATTRIBUTE, PY2, getfullargspec, hrange, isidentifier, qualname, str_to_bytes, to_str, to_unicode, update_code_location
  from hypothesis.vendor.pretty import pretty
label_desc: Use image node_id 14 for calling a global function with example usage: unbind_method(f) and returns: getattr