How can I tell if a variable is wrapped in jQuery or not?
<p>I have a function that has the signature of:</p>

<pre><code>function(id,target){
 //do stuff
}
</code></pre>

<p>The target parameter is assumed to be a jQuery wrapped object however it is possible that it could be a dom element in which case I'd like to wrap it in jQuery before I do operations on it.  How can I test the target variable for jQuery?  </p>
