How can I check the clicked element has also class x? : <p>Here is my code:</p>

<pre><code>doc.on("click", ".add_your_qora", function(e){
     // in here I need to know, has this element also "myclass" class too?
})
</code></pre>

<p>As I've commented in the code, I need to know, has <code>.add_your_qora</code> element also <code>myclass</code> or not? How can I determine that? </p>
