code: def indent(str, indent=4):
      indent_str = " " * indent
      if str is None:
          return indent_str
      lines = str.split("\n")
      return "\n".join(indent_str + l for l in lines)
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  from collections import namedtuple
  from collections.abc import Callable, Mapping
  import copy
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: indent(str, indent) and returns: str, indent_str