I would say look at teh wheels and if 3-rail the rollers. Evaluate the apparent wear. If the flanges have become very knife-edge and/or there are grooves in the tires, it is very used. If the rollers are grooved, it is probably very used. On a lot of older stuff, the gears are visible, if they are worn, cupped, or chipped, it is probably very used. You have to decide how much risk to take on locomotives like that if you really want them. At a show, you can't take one apart and check out the gear box, but if there is extensiver wheel wear, there is most likely extensive gearbox wear.
As a rule of thumb, I avoid locos that have been used on commercial layouts or owned by clubs that do a lot open houses. These often accumulate many more hours than their age might indicate and are often worn out. There was a well known commercial layout that closed down some years ago. The locos started showing up at shows, and quite a few of the then old-timers warned me to stay away from them because they had been run into the ground.