code: public boolean isValidAndEnabled() {
  
          return (getMode() != null)
              && (getMode() != Mode.disabled)
              && (getPort() > -1)
              && !CmsStringUtil.isEmptyOrWhitespaceOnly(getCertConfigPath())
              && !CmsStringUtil.isEmptyOrWhitespaceOnly(getHost());
      }
docs: Checks if the configuration is enabled and does not have missing settings.<p>
  
  @return true if the configuration is enabled and does not have missing settings