code: def get_pretty_function_description(f):
      if not hasattr(f, "__name__"):
          return repr(f)
      name = f.__name__
      if name == "<lambda>":
          return extract_lambda_source(f)
      elif isinstance(f, types.MethodType):
          self = f.__self__
          if not (self is None or inspect.isclass(self)):
              return "%r.%s" % (self, name)
      return name
  
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 11 for calling a global function with example usage: get_pretty_function_description(f) and returns: name, repr, extract_lambda_source, unknown