@Override
		public boolean isEnabledForContext(ActionContext context) {
			Object activeObj = context.getContextObject();
			if (activeObj instanceof ProgramNode) {
				return ((ProgramNode) activeObj).getProgram() != null;
			}
			return false;
		}
Determine if the Module Select action should be visible within
the popup menu for the specified active object.
@param activeObj the object under the mouse location for the popup.
@return true if action should be made visible in popup menu.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/select/programtree/ProgramTreeSelectionPlugin.java