code: def _bool_default(x):
      if x is True:
          return "yes"
      if x is False:
          return "no"
      return x
  
file_path: guildai/guild/plugins/pytorch_flags.py
imports: import logging
  from .import_argparse_flags_main import ArgparseActionFlagsImporter
  from .import_argparse_flags_main import default_flag_attrs_for_argparse_action
label_desc: Use image node_id 4 for calling a global function with example usage: _bool_default(x) and returns: x, str, str