code: def get_truetype(value):
      
      if value in ["true", "True", "y", "Y", "yes"]:
          return True
      if value in ["false", "False", "n", "N", "no"]:
          return False
      if value.isdigit():
          return int(value)
      return str(value)
docs: Convert a string to a pythonized parameter.