title: What is the right jquery selector to get all instances of a div based on content inside that div?
body: <p>I have the following html:</p>
  
  <pre><code>&lt;div class="list"&gt;
   &lt;div class="sortable"&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="list"&gt;
   &lt;div class="sortable"&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="list"&gt;
   &lt;div class="sortable"&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
          &lt;div class="contentItem"&gt; Some content &lt;/div&gt;
   &lt;/div&gt;
   &lt;/div&gt;
  
   &lt;div class="list"&gt;
   &lt;div class="sortable"&gt;
   &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>and i am trying to hide all of the "list" classes that don't have any "contentItem" divs inside of them.  So its basically taking this</p>
  
  <pre><code> $(".list").hide();   
  </code></pre>
  
  <p>which would hide all but ignore the ones that have "contentItem" elements in them</p>
  
  <p>is this possible as a jquery selector?</p>