docs: public boolean isValid(String value) {
          if (value == null) {
              return false;
          }
          for (Pattern pattern : patterns) {
              if (pattern.matcher(value).matches()) {
                  return true;
              }
          }
          return false;
      }