code: def session_expired(self):
          
          if not self._login_time or (datetime.datetime.now()-self._login_time).total_seconds() > 12000:
              return True
docs: Returns True if login_time not set or seconds since
          login time is greater than 200 mins.