determine if sensor exists when calling begin()