title: jQueryUI 1.9 : how to check for widget initialized (cannot call method prior to initialization)
body: <p>I'm currently migrating some code from 1.8 to 1.9.2 and I'm facing the situation where widgets are destroyed before being initialized. For example, the following can be faulty (throwing an exception) now in 1.9.2 : is there any way I can check the call is possible :</p>
  
  <pre><code>$div.buttonset("destroy")
  </code></pre>