Wrap a string around one rear drop out, loop it around the head tube back to the other drop out, making sure they are laying against the drop outs identically. Then take measurements from the string to the seat tube on both sides, also attach levels to each drop out so they extend above and below by at least a foot then measure that it is true in that direction. If your local bike shop has one Park Tool makes a frame alignment gauge that you press against one side then set the contact point to the rear drop out then flip to the other side. Honestly you can be as or more accurate and thorough with string, levels, rulers, and a plump bob.