code: def ConvertSupportedOSToConditions(src_object):
    
    if src_object.supported_os:
      conditions = " OR ".join("os == '%s'" % o for o in src_object.supported_os)
      return conditions
docs: Turn supported_os into a condition.