#NEWLINE# def exists( self , session_key ) : #NEWLINE# #INDENT# '\n        Checks to see if a session currently exists in DynamoDB.\n\n        :rtype: bool\n        :returns: ``True`` if a session with the given key exists in the DB,\n            ``False`` if not.\n        ' #NEWLINE# key_already_exists = self . table . has_item ( key_already_exists , consistent_read = ALWAYS_CONSISTENT ) #NEWLINE# if key_already_exists : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False