Tie a string to your derailleur hanger. Run it up around the head tube and down to the other rear dropout and pull it tight. Since the string creates straight lines, you can measure the distance from the frame to the string at the same point on both sides of the frame. You should have a pretty easy time determining if it is bent or not with that method.