Find whether an element contains in a jquery selector
<p>Let say I have, </p>

<pre><code>&lt;a id="a123"&gt;&lt;/a&gt;
</code></pre>

<p>Now I need to check whether $("a") selector contains $("#a123") element.</p>
