scipy.cluster.hierarchy.DisjointSet.connected# DisjointSet.connected(x, y)[source]# Test whether x and y are in the same subset. Parameters x, yhashable objectElements to test. Returns resultboolTrue if x and y are in the same set, False otherwise.