Sensor int to boolean