Return False iff the given scc is reachable from elsewhere.

def _is_orphan(scc, graph):
    """
    Return False iff the given scc is reachable from elsewhere.

    """
    return all(p in scc for v in scc for p in graph.parents(v))