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

		List<DomainFile> domainFiles = context.getSelectedFiles();
		for (DomainFile domainFile : domainFiles) {
			if (domainFile.isHijacked()) {
				return true; // At least one hijacked file selected.
			}
		}
		return false;
	}
Creates an action to undo hijacked domain files in the project.
@param plugin the plug-in that owns this action.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/VersionControlUndoHijackAction.java