title: Check if two items were returned from function
body: <p>Say I have the function:</p>
  
  <pre><code>def foo(i):
      if i == False:
          return 1, 2
      else:
          return 1
  </code></pre>
  
  <p>I want to check if two items were returned from the function, or just one - how do I do this?</p>