code: def _format_named_configs(named_configs, indent=2):
      lines = [
          "Named Configurations (" + COLOR_DOC + "doc" + ENDC + "):"
      ]
      for path, named_config in named_configs.items():
          lines.append(_format_named_config(indent, path, named_config))
      if len(lines) < 2:
          lines.append(" " * indent + "No named configs")
      return "\n".join(lines)
  
file_path: sacred/sacred/commands.py
imports: import copy
  import pprint
  import pydoc
  import re
  from collections import namedtuple, OrderedDict
  from colorama import Fore, Style
  from sacred.config import save_config_file
  from sacred.serializer import flatten
  from sacred.utils import PATHCHANGE, iterate_flattened_separately
label_desc: Use image node_id 3 for calling a global function with example usage: _format_named_configs(named_configs, indent) and returns: str