code: def guess_value(text_value):  # type: (str) -> str
      
      if sys.version_info >= (3, 0):
          text_value = text_value.casefold()
      else:
          text_value = text_value.lower()
      if text_value in ["false", "off"]:
          return "0"
      elif text_value in ["true", "on"]:
          return "1"
      return text_value
docs: Get string value for common strings.
      Method is far from complete but helping with odd arxml files.
  
      :param text_value: value in text like "true"
      :return: string for value like "1"