code: def _encode_flag_val_for_split(val, dest, cmd_flag):
      if isinstance(val, str):
          return val
      return _encode_flag_arg(val, dest, cmd_flag)
  
imports: import logging
  import pprint
  from guild import flag_util
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 11 for calling a global function with example usage: _encode_flag_val_for_split(val, dest, cmd_flag) and returns: _encode_flag_arg, val