code: def _header(run, args):
      dir = run.dir
      if os.getenv("NO_HEADER_PATH") == "1":
          dir = os.path.basename(dir)
      return dir if args.full_path else util.format_dir(dir)
  
imports: import fnmatch
  import logging
  import re
  import os
  from guild import cli
  from guild import run_manifest
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 5 for calling a global function with example usage: _header(run, args) and returns: unknown