def _set_led_value(self, group, val):
        """Set the LED value and confirm with a status check."""
        new_bitmask = set_bit(self._value, group, bool(val))
        self._set_led_bitmask(new_bitmask)
Set the LED value and confirm with a status check.