My question in buying one used and replacing the batteries is, how do I know it was stored properly and will work when my life depends on it?

I have bought a lot of slightly used gear but I stay away from used electronics for the back country.

If there is a way to be sure it will work I'm listening...