<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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))