def has_value(self, datatype):
return (self.datatypes & datatype) != <NUM_LIT:0><EOL>
Return True if the sensor supports the given data type.

        sensor.has_value(TELLSTICK_TEMPERATURE) is identical to calling
        sensor.has_temperature().