My department got rid of their old glock 22's last year for the glock 31. The placed a 2 month hold on our old glock 22's for us to come down there and buy them before they put them on the market for everyone else. I bought mine for $320. I figured I should , since it had sentimental value being my first duty weapon.
Depending on the quality of the Glock 22, $400 is a little too much. Our glock 22s were pretty rough looking, but worth the money. There are Gen 1 glocks still going for $400.
What generation are these glock 22s ? Do they have night sights ?
As far as inspection, I would field strip it down and look at the guts. Looks for excessive wear, gouges, peening,or pitting. Inspect the bore of the barrel and make sure it is uniform with no rust or pits.....should be shiney. Check the barrel lug for fissure cracks or peening.
Check the frame rails to make sure they are not bent , broken, or loose. Look at the locking block in the frame and inspect fro cracks or damage.
Basically, anywhere on the pistol that sees heavy contact or high pressure, inspect it for damage. If it looks messed up or damaged....then more than likey it is. One key thing: it is wise to go ahead and replace the magazine springs (and possibly the follower) in the police trade in magazines, they are usually shot. You can also ask the gunshop clerk to look at several (if not all) of the police trade in glock 22s and then choose the one that is in the best condition.
You can also find out from the shop which department had the Glock 22s. When you do , you can always call the department and request to speak with the training officer and find out how long the department was using the glocks and if they had any issues from them.
Glocks are pretty resilient handguns....I have drug mine through many hells, and they are still here and they still shoot great.
Good luck