<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_value(self, text: str) -> Optional[bool]: """Parse boolean value. Args: text: String representation of the value. """

        if text == "true":
            return True
        if text == "false":
            return False