Refactor boolean validator