bool to boolean validator