code: def _quote_encoded(encoded, val):
      if _needs_quote(encoded, val):
          return _quote(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 40 for calling a global function with example usage: _quote_encoded(encoded, val) and returns: encoded, _quote