supportsTemperature

Whether the given temperature value is permitted for this model.

Returns true when supportedTemperatures is null (no restriction), false when it is empty (the parameter is not allowed at all), and otherwise whether temperature is one of the enumerated values.