Set a bool variable if an element has a class applied
<p>I am able to hide an element on the page in this way</p>

<pre><code>$('.info_player &gt; .item_focus').hide();
</code></pre>

<p>I need to set a variable on true or false if the element .info_player  has the class .item_focus applied or not.</p>

<p>How to make it with jquery?</p>

<p>Please provide me a sample of code</p>
