@Override
	public boolean isEnabledForContext(DomainFileContext context) {
		if (isFileSystemBusy()) {
			return false; // don't block; we should get called again later
		}

		List<DomainFile> providedList = context.getSelectedFiles();
		for (DomainFile domainFile : providedList) {
			if (domainFile.isVersioned() &&
				(domainFile.getLatestVersion() != domainFile.getVersion())) {
				return true; // At least one checked out file that has a newer version in the repository.
			}
		}
		return false;
	}
Creates an action for updating domain files that are checked out.
@param plugin the plug-in that owns this action.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/VersionControlUpdateAction.java