<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def session_expired(self):
 """ Returns True if login_time not set or seconds since login time is greater than 200 mins. """

        if not self._login_time or (datetime.datetime.now()-self._login_time).total_seconds() > 12000:
            return True