code: def _encode_list_item(val):
      encoded = encode_flag_val(val)
      if isinstance(val, str) and "," in encoded:
          return repr(encoded)
      return encoded
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 3 for calling a global function with example usage: _encode_list_item(val) and returns: encoded, repr