Here in NJ a couple of years ago, we had some bad spring flooding. The state issued all AHJ's an order about equipment that went under water. Either replace it, or you can get it tested by an agency that tests electrical equipment. ( i.e. UL) or the electrical contractor can look at it, and take responsability for saying that the piece of equipment is safe to turn on. (Most EC's would not take this kind of responsability) so most equip. was replaced.