networkx.algorithms.isomorphism.GraphMatcher.semantic_feasibility

GraphMatcher.semantic_feasibility(G1_node, G2_node)

Returns True if mapping G1_node to G2_node is semantically feasible.