@Override
			public boolean isEnabledForContext(ActionContext context) {
				return tool.getProject() != null;
			}
A {@link Plugin} that supplies menu items and tasks to import files into Ghidra.
Ghidra/Features/Base/src/main/java/ghidra/plugin/importer/ImporterPlugin.java