code: def real_name(magic_func):
      """Find the real name of the magic."""
      magic_name = magic_func.__name__
      if magic_name.startswith("magic_"):
          magic_name = magic_name[len("magic_") :]
      return getattr(magic_func, "argcmd_name", magic_name)
  
imports: import argparse
  import re
  from IPython.core.error import UsageError
  from IPython.utils.decorators import undoc
  from IPython.utils.process import arg_split
  from IPython.utils.text import dedent
label_desc: Use image node_id 3 for calling a global function with example usage: real_name(magic_func) and returns: getattr