flip

Flips the coin and returns the result.

Return

true (heads) with the configured probability, false (tails) otherwise.