code: @Override
    public final boolean isValid(final Object pvalue, final ConstraintValidatorContext pcontext) {
      final String valueAsString = StringUtils.strip(Objects.toString(pvalue, null), stripcharacters);
  
      return StringUtils.isNotEmpty(valueAsString);
    }
docs: {@inheritDoc} check if given string is a not empty after strip.
  
  @see javax.validation.ConstraintValidator#isValid(java.lang.Object,
  javax.validation.ConstraintValidatorContext)