Eliminate redundant booelan.