title: How to check whether a str(variable) is empty or not?
body: <p>How do I make a:</p>
  
  <pre><code>if str(variable) == [contains text]:
  </code></pre>
  
  <p>condition? </p>
  
  <p>(or something, because I am pretty sure that what I just wrote is completely wrong)</p>
  
  <p>I am sort of trying to check if a <code>random.choice</code> from my list is <code>["",]</code> (blank) or contains <code>["text",]</code>.</p>