boolean canCloseDomainFile(DomainFile df) {
		Project project = tool.getProject();
		PluginTool[] tools = project.getToolManager().getRunningTools();
		for (PluginTool t : tools) {
			DomainFile[] files = t.getDomainFiles();
			for (DomainFile domainFile : files) {
				if (df == domainFile) {
					return t.canCloseDomainFile(df);
				}
			}
		}
		return true;
	}
Checks if anything is preventing a particular domain file from closing.
@param df the domain file to check
@return true if the specified domain file can be closed.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/VersionControlAction.java