code: private DOMNode getExistingTemplate(final String name) {
  
  		try (final Tx tx = app.tx()) {
  
  			return Importer.findSharedComponentByName(name);
  
  		} catch (FrameworkException fex) {
  			logger.warn("Unable to determine if template {} already exists, ignoring.", name);
  		}
  
  		return null;
  	}
docs: ----- private methods -----