def remove(self, session_id):
        session = self._items.get(session_id, None)

        if session is not None:
            session.promoted = -1
            session.on_delete(True)
            del self._items[session_id]
            return True

        return False
Remove session object from the container
dataset/ETHPy150Open benoitc/gaffer/gaffer/sockjs/sessioncontainer.py/SessionContainer.remove