title: How to check jQuery find return true or false?
body: <p><strong>HTML Code</strong></p>
  <pre><code>&lt;div class=&quot;parent1&quot;&gt;
      &lt;div class=&quot;child1&quot;&gt;Child1&lt;/div&gt;
      &lt;div class=&quot;child2&quot;&gt;Child2&lt;/div&gt;
      &lt;div class=&quot;child3&quot;&gt;Child3&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class=&quot;parent2&quot;&gt;
      &lt;div class=&quot;child1&quot;&gt;Child1&lt;/div&gt;
      &lt;div class=&quot;child2&quot;&gt;Child2&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>jQuery Code</strong></p>
  <pre><code>alert($(&quot;.parent1&quot;).find(&quot;.child3&quot;).text());
  alert($(&quot;.parent2&quot;).find(&quot;.child3&quot;).text());
  </code></pre>
  <p>My question is how to check <code>find</code> function return true or false?</p>
  <p>In above code it return blank value, where <code>parent1</code> class have <code>child3</code> class where <code>parent2</code> class do not have <code>child3</code> class.</p>
  <p><strong><a href="http://jsfiddle.net/q3bx11qe/2/" rel="noreferrer">JS Fiddle</a></strong></p>