docs: def _packet_ack(self, packet, sequence):
          """ Check packet for ack. """
          if packet["sequence"] == sequence:
              if packet["payloadtype"] == PayloadType.SETCOLOR:
                  # notify about colour change
                  self._color_callback(packet["target"],
                                       packet["hue"],
                                       packet["sat"],
                                       packet["bri"],
                                       packet["kel"])
  
              elif packet["payloadtype"] == PayloadType.SETPOWER2:
                  # notify about power change
                  self._power_callback(packet["target"],
                                       packet["power"])
  
              return False
  
          return True