bool nextBool()

Generates a random boolean value.

Source

bool nextBool();