def exists(self, session_key):

        key_already_exists = self.table.has_item(
            session_key,
            consistent_read=ALWAYS_CONSISTENT,
        )
        if key_already_exists:
            return True
        else:
            return False
Checks to see if a session currently exists in DynamoDB.
dataset/ETHPy150Open gtaylor/django-dynamodb-sessions/dynamodb_sessions/backends/dynamodb.py/SessionStore.exists