title: if in statement in python reverse
body: <p>So I'm having a bit trouble here..</p>
  
  <p>I'm kinda familiar with this the if x in xyz statement, I also got some good info from <a href="https://stackoverflow.com/questions/19775692/use-and-meaning-of-in-in-an-if-statement">this link</a>.
  So from the answer I understand what it does.. But I need it in reverse..</p>
  
  <p>Like this:
  So I understand this concept:</p>
  
  <pre><code>text = "This whole sentence is text"
  if text in ['whole', 'sentence']
     do something
  </code></pre>
  
  <p>But i actually need to check if some of the words are in the sentence instead of the upper..</p>
  
  <p>Can I just do it like this:</p>
  
  <pre><code>text = "This whole sentence is text"
  if ['whole', 'sentence'] in text
    do something
  </code></pre>
  
  <p>Or is there a better way to do this?</p>
  
  <p><strong>TL;DR</strong></p>
  
  <p>Keep in mind that the <code>text</code> variable is coming from somewhere else and I can't really change it easily. 
  My google assistant is giving the <code>text</code> variable back from what it heard, and I want to be able to have it do actions without having to say a full literal sentence, so normally it looks like this:</p>
  
  <pre><code>text = event.args['text'].lower()
  if text == 'power off':
     assistant.stop_conversation()
     power_off_pi()
  </code></pre>
  
  <p>So it checks the whole sentence, I just want to be able to let it check for certain words in the sentence.</p>
  
  <p>Thanks in advance!</p>