<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def verify_state(self):
 """Verify if session was not yet opened. If it is, open it and call connections `on_open`"""

        if self.state == CONNECTING:
            self.state = OPEN

            self.conn.on_open(self.conn_info)