networkx.algorithms.isomorphism.DiGraphMatcher.subgraph_is_isomorphic

DiGraphMatcher.subgraph_is_isomorphic()

Returns True if a subgraph of G1 is isomorphic to G2.