Return True when there is no session_key and the session is empty.
(self)
| 188 | self.modified = True |
| 189 | |
| 190 | def is_empty(self): |
| 191 | "Return True when there is no session_key and the session is empty." |
| 192 | try: |
| 193 | return not self._session_key and not self._session_cache |
| 194 | except AttributeError: |
| 195 | return True |
| 196 | |
| 197 | def _get_new_session_key(self): |
| 198 | "Return session key that isn't being used." |
no outgoing calls
no test coverage detected