code: def get_connection_status(self, connection_id):
          
          with self._connections_lock:
              try:
                  connection_info = self._connections[connection_id]
                  return connection_info.status
              except KeyError:
                  return None
docs: Get status of the connection during Role enforcement.