@Override
	protected boolean isEnabledForContext(ListingActionContext context) {
		return this.funcPlugin.isCreateFunctionAllowed(context, allowExisting, createThunk);
	}
Method called when the action is invoked.
@param ActionEvent details regarding the invocation of this action
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/CreateFunctionAction.java