code: def get_name(option):
      if isinstance(option, CLIOption):
          return option.get_name()
      else:
          return option.__name__
  
imports: from typing import Callable
  import inspect
  import re
  from sacred.run import Run
  from sacred.commands import print_config
  from sacred.utils import convert_camel_case_to_snake_case
label_desc: Use image node_id 2 for calling a global function with example usage: get_name(option) and returns: option, option