'Return a list of nodes on whom the specific node is control dependent in the control dependence graph'

def get_guardians(self, run):

    if (run in self._graph.nodes()):
        return self._graph.predecessors(run)
    else:
        return []
