Avoid pleonastic checks on boolean