Checking if current context is jQuery stack
<p>For example i need to check if current context is jQuery stack. How would you do it? Ignoring methods checking. It's ugly solution. :)</p>

<p>For example:</p>

<pre><code>if(it_is_jquery_stack_context) {
// do some stuff with jQuery support
}
else {
// do some  stuff without it
}
</code></pre>

<p><strong>UPDATE</strong></p>

<p>For example:</p>

<pre><code>if(typeof this.get=='function' &amp;&amp; this.length &amp;&amp; this.get(0)===dom_ element) { 
   // do some stuff
}
</code></pre>

<p>The last question is:</p>

<p>How to check if <code>this.get(0)</code> is instance of dom element?</p>
