Simplify bool checks