<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def expired(self):
 """Called when an expired session is atime"""

        self._data["_killed"] = True
        self.save()
        raise SessionExpired(self._config.expired_message)