rustworkx.is_weakly_connected# is_weakly_connected(graph, /)# Check if the graph is weakly connected Parameters: graph (PyDiGraph) – The graph to check if it is weakly connected Returns: Whether the graph is weakly connected or not Return type: bool Raises: NullGraph – If an empty graph is passed in