sanic_cookies/models.py
def is_locked(self):  # should be used by user
        """ Checks if dict is ready to be locked (Checks sid vs _is_locked, checks self.locked_key) """
        if self.sid in lock_keeper.acquired_locks:
            return lock_keeper.acquired_locks[self.sid].locked()
        else:
            return False
 Checks if dict is ready to be locked (Checks sid vs _is_locked, checks self.locked_key) 
Checks if dict is ready to be locked (Checks sid vs _is_locked, checks self.locked_key)
Checks if dict is ready to be locked ( Checks sid vs _is_locked checks self . locked_key )
def is_locked(self):  
        if self.sid in lock_keeper.acquired_locks:
            return lock_keeper.acquired_locks[self.sid].locked()
        else:
            return False
def is_locked ( self ) : if self . sid in lock_keeper . acquired_locks : return lock_keeper . acquired_locks [ self . sid ] . locked ( ) else : return False
Checks if dict is ready to be locked (Checks sid vs _is_locked, checks self.locked_key)
Checks if dict is ready to be locked ( Checks sid vs _is_locked checks self . locked_key )
# should be used by user """ Checks if dict is ready to be locked (Checks sid vs _is_locked, checks self.locked_key) """
self