code: private boolean validateTemplateURI(URI flowURI) {
      if (!this.sysConfig.hasPath(ServiceConfigKeys.TEMPLATE_CATALOGS_FULLY_QUALIFIED_PATH_KEY)) {
        log.error("Missing config " + ServiceConfigKeys.TEMPLATE_CATALOGS_FULLY_QUALIFIED_PATH_KEY);
        return false;
      }
      if (!flowURI.getScheme().equals(FS_SCHEME)) {
        log.error(
            "Expected scheme " + FS_SCHEME + " got unsupported scheme " + flowURI.getScheme());
        return false;
      }
  
      return true;
    }
docs: Determine if an URI of a jobTemplate or a FlowTemplate is valid.
  @param flowURI The given job/flow template
  @return true if the URI is valid.