code: def set_checked(self, value=True, block_events=False):
          
          if block_events: self._widget.blockSignals(True)
          self._widget.setChecked(value)
          if block_events: self._widget.blockSignals(False)
  
          return self
docs: This will set whether the button is checked.
  
          Setting block_events=True will temporarily disable signals
          from the button when setting the value.