class AssertFalseValidator implements ConstraintValidator<AssertFalse, Boolean> {

	public boolean isValid(Boolean bool, ConstraintValidatorContext constraintValidatorContext) {
		//null values are valid
		if ( bool == null ) {
			return true;
		}
		return !bool;
	}

}