title: Check if a word is in a string in Python
body: <p>I'm working with Python, and I'm trying to find out if you can tell if a word is in a string.</p>
  <p>I have found some information about identifying if the word is in the string - using <code>.find</code>, but is there a way to do an <code>if</code> statement. I would like to have something like the following:</p>
  <pre><code>if string.find(word):
      print(&quot;success&quot;)
  </code></pre>