class CheckQueryDetailsNullValidator implements ConstraintValidator<CheckQueryDetailsNull,
        List<ClientQueryField>>, ValidationErrorDescriptorBuilder {

    @Override
    public boolean isValid(List<ClientQueryField> value, ConstraintValidatorContext context) {
        return value == null;
    }

}