static boolean isConfigTemplate(File file) {

		try {
			DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
			DocumentBuilder builder = factory.newDocumentBuilder();
			Document doc = builder.parse(file);

			Element rootElem = doc.getDocumentElement();
			if (rootElem.getTagName().equals("dbconfig")) {
				return true;
			}
		}
		catch (ParserConfigurationException | SAXException | IOException e) {
			Msg.error(null, "Error inspecting xml file", e);
		}

		return false;
	}
Determines if a given xml file is a config template. This is done by opening the file
and checking for the presence of a {@code <dbconfig>} root tag.

@param file the file to inspect
@return true if the file is config template
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/FunctionDatabase.java