def METHOD_NAME(graph, node):
    if type(node) is TemporaryNode:
        # This is for testing
        successors = graph.graph.successors(node)
    else:
        # Real CFGNode!
        successors = graph.model.get_successors(node)
    return successors