cirq.contrib.graph_device.is_undirected_device_graph