def all_synced():
    for i in range(self.num_nodes):
        if (not node_synced(i)):
            return False
    return True
def all_synced():
    for i in range(self.num_nodes):
        if (not node_synced(i)):
            return False
    return True