You can measure humidity levels with a relative humidity sensor, usually referred to as a hygrometer.