neko.core.network.Network.is_connected

Network.is_connected() bool

This function checks if the network is connected. It uses Depth-First Search (DFS) to traverse the network and check if all nodes are visited. If all nodes are visited, the network is connected.

Args:
  • None

Returns:
  • None