title: Check if list items contains substrings from another list
body: <p>I have a lists:</p>
  
  <pre><code>my_list = ['abc-123', 'def-456', 'ghi-789', 'abc-456', 'def-111', 'qwe-111']
  
  bad = ['abc', 'def']
  </code></pre>
  
  <p>and want to search for items that contain the string 'abc' and 'def' (and others in bad). How can I do that?</p>
  
  <p>Almost same question <a href="https://stackoverflow.com/questions/4843158/check-in-python-if-a-list-item-contains-a-string">here</a>.</p>