private static boolean validateExtensionVersion(ExtensionDetails extension) {
		String extVersion = extension.getVersion();
		if (extVersion == null) {
			extVersion = "<no version>";
		}

		String appVersion = Application.getApplicationVersion();
		if (extVersion.equals(appVersion)) {
			return true;
		}

		String message = "Extension version mismatch.\nName: " + extension.getName() +
			"Extension version: " + extVersion + ".\nGhidra version: " + appVersion + ".";
		int choice = OptionDialog.showOptionDialogWithCancelAsDefaultButton(null,
			"Extension Version Mismatch", message, "Install Anyway");
		if (choice != OptionDialog.OPTION_ONE) {
			log.info(removeNewlines(message + " Did not install"));
			return false;
		}
		return true;
	}
Compares the given extension version to the current Ghidra version.  If they are different,
then the user will be prompted to confirm the installation.   This method will return true
if the versions match or the user has chosen to install anyway.

@param extension the extension
@return true if the versions match or the user has chosen to install anyway
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/extensions/ExtensionInstaller.java