code: def dedent_function_body(body):
      lines = body.split("\n")
      # find indentation by first line
      indent = ""
      for line in lines:
          if is_empty_or_comment(line):
              continue
          else:
              indent = re.match(r"^\s*", line).group()
              break
  
      out_lines = [dedent_line(line, indent) for line in lines]
      return "\n".join(out_lines)
  
imports: import ast
  import inspect
  import io
  import re
  import textwrap
  import token
  from copy import copy
  from sacred import SETTINGS
  from sacred.config.config_summary import ConfigSummary
  from sacred.config.utils import dogmatize, normalize_or_die, recursive_fill_in
  from sacred.config.signature import get_argspec
  from sacred.utils import ConfigError
  from tokenize import generate_tokens, tokenize, TokenError, COMMENT
label_desc: Use image node_id 5 for calling a global function with example usage: dedent_function_body(body) and returns: str