def check_last_ordered_3pc_on_master(nodes, last_ordered_3pc):
    for n in nodes:
        assert (n.master_replica.last_ordered_3pc == last_ordered_3pc), '{} != {}'.format(n.master_replica.last_ordered_3pc, last_ordered_3pc)
def check_last_ordered_3pc_on_master(nodes, last_ordered_3pc):
    for n in nodes:
        assert (n.master_replica.last_ordered_3pc == last_ordered_3pc), '{} != {}'.format(n.master_replica.last_ordered_3pc, last_ordered_3pc)