code: public boolean validateContentSpec(final ContentSpec contentSpec, final String username) {
          boolean valid = preValidateContentSpec(contentSpec);
  
          if (!postValidateContentSpec(contentSpec, username)) {
              valid = false;
          }
  
          return valid;
      }
docs: Validates that a Content Specification is valid by checking the META data,
  child levels and topics. This method is a
  wrapper to first call PreValidate and then PostValidate.
  
  @param contentSpec The content specification to be validated.
  @param username    The user who requested the content spec validation.
  @return True if the content specification is valid, otherwise false.