title: Get a random boolean in python?
body: <p>I am looking for the best way (fast and elegant) to get a random boolean in python (flip a coin).</p>
  
  <p>For the moment I am using <code>random.randint(0, 1)</code> or <code>random.getrandbits(1)</code>.</p>
  
  <p>Are there better choices that I am not aware of?</p>