code: def parse_value(self, text: str) -> Optional[bool]:
          
          if text == "true":
              return True
          if text == "false":
              return False
docs: Parse boolean value.
  
          Args:
              text: String representation of the value.