boolean isAncestor(GhidraFolderData folderData) {
		if (!folderData.projectData.getProjectLocator().equals(projectData.getProjectLocator())) {
			// check if projects share a common repository
			RepositoryAdapter myRepository = projectData.getRepository();
			RepositoryAdapter otherRepository = folderData.projectData.getRepository();
			if (myRepository == null || otherRepository == null ||
				!myRepository.getServerInfo().equals(otherRepository.getServerInfo()) ||
				!myRepository.getName().equals(otherRepository.getName())) {
				return false;
			}
		}
		GhidraFolderData checkParent = folderData;
		while (checkParent != null) {
			if (checkParent.equals(this)) {
				return true;
			}
			checkParent = checkParent.getParentData();
		}
		return false;
	}
Determine if the specified folder if an ancestor of this folder
(i.e., parent, grand-parent, etc.).
@param folderData folder to be checked
@return true if the specified folder if an ancestor of this folder
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFolderData.java