private boolean hasExistingSession(String name, DomainFolder folder) throws CancelledException {

		DomainFile[] files = folder.getFiles();

		for (DomainFile file : files) {
			monitor.checkCancelled();

			if (file.getName().equals(name)) {
				if (file.getContentType().equals("VersionTracking")) {
					return true;
				}
			}
		}
		return false;
	}
Method to determine if there is an existing VTSession in the given folder with the given name
@param name the given name
@param folder the given Ghidra project folder
@return true if there is an existing VTSession with the given name in the given folder, false
         otherwise
@throws CancelledException if cancelled
Ghidra/Features/VersionTracking/ghidra_scripts/AutoVersionTrackingScript.java