docs: private boolean isValidElement(String element) {
  
          boolean validateNewElement = Boolean.valueOf(getParamValidateNewElement()).booleanValue();
          if (ALL.equals(getParamTemplate()) || !validateNewElement) {
              return true;
          }
  
          return isValidTemplateElement(getParamTemplate(), element);
      }