def get_top_node(data):
    """ The top node is what is not present in any other node's children list"""
    child_nodes = set()
    for key, node in data.items():
        [child_nodes.add(elem) for elem in node.children]
    return list(filter(lambda node_name: node_name not in child_nodes, data.keys()))