Invert boolean check