Sprawdź, czy zmienna to obiekt jQuery
if (obj instanceof jQuery){
console.log('object is jQuery');
}
0000-0000-0111
if (obj instanceof jQuery){
console.log('object is jQuery');
}