Run function IF :has :not class
<p>I only want this function to run if <code>.toolbar li</code> does not have the class .Oactive:</p>

<pre><code>$(".prod_description").mousedown(function(){
$(this).parent().parent().addClass('mousedown');
$(this).parent().parent().parent().addClass('mousedown'); 
})
.mouseup(function(){
$(this).parent().parent().removeClass('mousedown');
$(this).parent().parent().parent().removeClass('mousedown');
});
</code></pre>

<p>What do I need to wrap this in to ensure this?</p>

<pre><code>something like: if $(.toolbar li):not(:has .Oactive) {

}
</code></pre>
