title: How to check if an li contains an element with a specific classname in jquery
body: <p>I have the following structure, and I want to find out if <code>.curent-menu-item</code> has a child with a class of <code>.sub-menu</code></p>
  
  <pre><code>&lt;li class="curent-menu-item"&gt;
     &lt;a&gt;text&lt;/a&gt;
      &lt;ul class="sub-menu"&gt;
         &lt;li&gt;item&lt;/li&gt;
         &lt;li&gt;item&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;text&lt;/li&gt;
  </code></pre>