JSFiddle - React, Tailwind, and code Playground

HTML

<div class="item">
  <div class="item-1">Heklklo</div>
  <div class="item-2"></div>
</div>

JavaScript

let a = $('.item').find('*').not('div');

console.log(a ? 'here' : 'nothere');