Measure 3 feet up the wall and make a mark
Measure 4 feet across the floor (directly under your mark on the wall) and make another mark
Measure the distance between the two marks, if it's not 5 feet your wall or floor is leaning/sloping
From: http://www.tradetricks.org