@Override
	public boolean isValidContext(ActionContext context) {
		return context instanceof DecompilerActionContext;
	}
A base class for {@link DecompilePlugin} actions that handles checking whether the
decompiler is busy.   Each action is responsible for deciding its enablement via
{@link #isEnabledForDecompilerContext(DecompilerActionContext)}.  Each action must implement
{@link #decompilerActionPerformed(DecompilerActionContext)} to complete its work.

<p>This parent class uses the {@link DecompilerActionContext} to check for the decompiler's
busy status.  If the decompiler is busy, then the action will report that it is enabled.  We
do this so that any keybindings registered for this action will get consumed and not passed up
to the global context.   Then, if the action is executed, this class does not call the child
class, but will instead show an information message indicating that the decompiler is busy.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/AbstractDecompilerAction.java