def remote_nodes(graph):
    """ Return remote nodes

    Remote nodes are isolated nodes that are not connected to anything
    :param graph:
    :return:
    """
    return [u for u in graph.nodes() if len(list(graph.neighbors(u))) == 0]