jQuery test if element1 is descendant of element2
<p>Does anyone know a good way to test if one element, stored in a var, is the descendant of another, also stored in a var?</p>

<p>I don't need <code>element1.isChildOf('selector')</code>, that's easy.<br>
I need <code>element1.isChildOf(element2)</code></p>

<p><code>element2.find(element1).size() &gt; 0</code> Does not seem to work.</p>

<p>I don't want to have to write a plugin the uses <code>.each</code> to test each child if I can avoid it.</p>
