code: def connected(self, node_id):
          
          conn = self._conns.get(node_id)
          if conn is None:
              return False
          return conn.connected()
docs: Return True iff the node_id is connected.