A Technique for Detecting the Presence of Water Under micro-Devices working in a Liquid Environment