title: How to check if empty list is inside of inside of a dictionary inside of list and remove that dict object from list?
body: <p>I have a list that looks like this:</p>
  
  <pre><code>lst = [{'email':['test@test.com']},{'email':['test1@test1.com']},{'email':[]},{'email':['test2@test2.com']}]
  </code></pre>
  
  <p>How do I remove the entire dictionary where the empty list is present inside the dictionary so lst looks like this: </p>
  
  <pre><code>lst = [{'email':['test@test.com']},{'email':['test1@test1.com']},{'email':['test2@test2.com']}]
  </code></pre>
  
  <p>I tried this;</p>
  
  <pre><code>if not any(d['email'] == '' for d in lst):
      print('not there')
  </code></pre>
  
  <p>But i dont even hit the print statment, not sure how to find this at all. </p>