<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_console(self):
 """Update is_console whether connected via console."""

        self.chain.connection.log("Detecting console connection")
        is_console = self.driver.is_console(self.users_text)
        if is_console is not None:
            self.is_console = is_console