code: def default_bin(name, default):
      assert default
      env_name = "ARCHERY_{0}_BIN".format(default.upper())
      return name if name else os.environ.get(env_name, default)
  
file_path: arrow/dev/archery/archery/utils/command.py
imports: import os
  import shlex
  import shutil
  import subprocess
  from .logger import logger, ctx
label_desc: Use image node_id 1 for calling a global function with example usage: default_bin(name, default) and returns: unknown