javascript check if variable is a jquery object

JavaScript
if (obj instanceof jQuery){
    console.log('object is jQuery');
}
Source

Also in JavaScript: