code: function(active, suppressEvent){
          if(this.active != active){
              this.active = active;
              if (suppressEvent !== true) {
                  this.fireEvent(active ? 'activate' : 'deactivate', this);
              }
          }
      }
docs: Sets the status of the filter and fires the appropriate events.
  @param {Boolean} active        The new filter state.
  @param {Boolean} suppressEvent True to prevent events from being fired.