Class ToBooleanFunction