'Return True if cover is closed.'

@property
def is_closed(self):

    set_req = self.gateway.const.SetReq
    if (set_req.V_DIMMER in self._values):
        return (self._values.get(set_req.V_DIMMER) == 0)
    return (self._values.get(set_req.V_LIGHT) == STATE_OFF)
