What technique is used to verify that a masonry wall layout is square?

What technique is used to verify that a masonry wall layout is square?