title: addClass, removeClass, if hasClass issue
body: <p>I have 3 sets of buttons that behave like radio buttons. </p>
  
  <p>The radio buttons work fine but I need to remove the active class for the button with an ID of #filter1-none ONLY if any of the other buttons have an active class. Would the best way be an if/then solution or can I do this with .filter?</p>
  
  <p>This is the radio behavior.</p>
  
  <pre><code>$('.filter .btn').click(function () {
      $(this).addClass('active').siblings('.active').removeClass('active');
  });
  </code></pre>
  
  <p>This is the html:</p>
  
  <pre><code>&lt;div class="btn-group pull-right filter" data-toggle="buttons-radio"&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-none"&gt;Show All&lt;/button&gt;
  &lt;/div&gt;
  
  &lt;div class="btn-group pull-right mr filter" data-toggle="buttons-radio"&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-LI"&gt;LI&lt;/button&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-LPO"&gt;LPO&lt;/button&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-NLI"&gt;NLI&lt;/button&gt;
  &lt;/div&gt;
  
  &lt;div class="btn-group pull-right mr filter" data-toggle="buttons-radio"&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-Low"&gt;Low&lt;/button&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-Medium"&gt;Medium&lt;/button&gt;
      &lt;button type="button" class="btn btn-large btn-flat" id="filter1-Urgent"&gt;Urgent&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>