Return True if the given session_key already exists.
(self, session_key)
| 453 | # Methods that child classes must implement. |
| 454 | |
| 455 | def exists(self, session_key): |
| 456 | """ |
| 457 | Return True if the given session_key already exists. |
| 458 | """ |
| 459 | raise NotImplementedError( |
| 460 | "subclasses of SessionBase must provide an exists() method" |
| 461 | ) |
| 462 | |
| 463 | async def aexists(self, session_key): |
| 464 | return await sync_to_async(self.exists)(session_key) |
no outgoing calls
no test coverage detected