Type check boolean operations