title: Determining if both variables are True or False
body: <p>I'm trying to make a function where two variables are in one <code>if</code> statement. followed by a(n) <code>== True</code>. It doesn't work, but here's what I tried in a better format.</p>
  <pre class="lang-py prettyprint-override"><code>if var1, var2 == True:
   print(&quot;This function is correct&quot;)
  else:
   print(&quot;This function doesn't work&quot;)
  </code></pre>
  <p>but it returned this message:</p>
  <pre><code>Invalid Syntax
  </code></pre>
  <p>Is there a way to make this function possible?</p>