title: Detecting jquery-ui accordion open / close state
body: <p>How do I conditionally handle when an accordion section is open. What I am asking is this (in pseudo code):</p>
  
  <pre><code>if (this-accordion-section-open){
     do something
  }
  else {
     do something else
  }
  </code></pre>
  
  <p>I am looking for something like :isvisible.</p>
  
  <p>Thanks for your help.</p>