code: def _needs_quote(encoded, val):
      return (
          isinstance(val, str)
          and encoded[0] not in ("'", '"')
          and " " in 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 41 for calling a global function with example usage: _needs_quote(encoded, val) and returns: unknown