pub fn is_connected(graph: &Graph) -> bool
Returns true if the graph is connected (treating all edges as undirected).
true