code: def is_identity_function(f):
      # TODO: pattern-match the AST to handle `def ...` identity functions too
      return bool(
          re.fullmatch(
              r"lambda (\w+): \1", get_pretty_function_description(f)
          )
      )
  
imports: import ast
  import hashlib
  import inspect
  import os
  import re
  import sys
  import textwrap
  import types
  from functools import wraps
  from io import StringIO
  from keyword import iskeyword
  from tokenize import COMMENT, detect_encoding, generate_tokens, untokenize
  from types import ModuleType
  from typing import TYPE_CHECKING, Any, Callable
  from unittest.mock import _patch
  from hypothesis.internal.compat import PYPY, is_typed_named_tuple
  from hypothesis.utils.conventions import not_set
  from hypothesis.vendor.pretty import pretty
label_desc: Use image node_id 23 for calling a global function with example usage: is_identity_function(f) and returns: bool