title: Check if accordion is open in semantic ui
body: <p>I´m letting my accordion collapse if a user clicks on the body of my site, but even if it´s already closed, it pops up and closes again.</p>
  
  <p>Now I want to check if my accordion content is already open and only then collapse it. The documentation says nothing about such a function. </p>
  
  <p>Is there any workarround for checking if an accordion is already closed?</p>