Less code for bool variable inversion