title: Generate Random Boolean Probability
body: <p>I only know how I can generate a random boolean value (true/false).
  The default probability is 50:50</p>
  
  <p>But how can I generate a true false value with my own probability?
  Let's say it returns true with a probability of 40:60 or 20:80 etc...</p>