title: dojo how i can check selected tab to Boolean Type.
body: <p>i'm currently create a program that i would like to add any widget selected tab. so i must know information about the selected tab. but i don't know..
  how i know selected tab the information that boolean type?</p>
  
  <p>for example:</p>
  
  <pre><code>if(tabs.selected==true){...}
  </code></pre>
  
  <p>mycode</p>
  
  <pre><code>&lt;div id="tabContainer" data-dojo-type="dijit/layout/TabContainer"
          data-dojo-props="region: 'bottom', tabPosition: 'top'"
          style="height: 700px;"&gt;
          &lt;div data-dojo-type="dijit/layout/ContentPane" title="Form" id="content"  class="tab" &gt;
              &lt;h4&gt;Example&lt;/h4&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>