@Override
	public final boolean isValidContext(ActionContext context) {
		// If this method returns false, then when the user is in a restricted view, the action
		// will be passed the global context instead of the current local context
		if (!supportsRestrictedAddressSetContext &&
			context instanceof RestrictedAddressSetContext) {
			return false;
		}
		return context instanceof NavigatableActionContext;
	}
Constructor when using a non-standard {@link KeyBindingType}

@param name the action's name
@param owner the action's owner
@param type the KeybindingType
Ghidra/Features/Base/src/main/java/ghidra/app/context/NavigatableContextAction.java