Draws a single random value from this Bernoulli distribution.
Returns 1 (success) with probability probability and 0 (failure) otherwise.
1
0
0 or 1.
the source of randomness.