def isconnected(self):
        with self._handlerslock:
            if len(self._handlers) == 0:
                return False
            else:
                return True
Returns true if this session has a request handler.
dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.isconnected