title: How to check if string contains any words in list using python?
body: <p>I have a list "stopwords" that contains ["apple", "banana", "pear", "'", "\""].</p>
  
  <p>I have another variable that contains a sentence: "sentence".</p>
  
  <p>I want a simple way to be able to check to see if the string "sentence" contains any words in the list "stopwords" and if it does, then throw an error without using a for loop. </p>