check if the sensor exists