def has_session(self, session_id):
        lock, sessions = self._get_lock_and_sessions(session_id)
        with lock:
            return session_id in sessions
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/voodoo/sessions/memory.py/SessionMemoryGateway.has_session/original