toggle

Flip a boolean (defaulting to false) and return the new value.