bool randomBool()

Returns either true or false in a most random fashion.

Source

bool randomBool() {
  return _random.nextDouble() < 0.5;
}