private static boolean isCallOp(PcodeOp op) {

		if (op == null) {
			return false;
		}

		int opCode = op.getOpcode();
		return opCode == PcodeOp.CALL || opCode == PcodeOp.CALLIND;
	}
Try to find the PcodeOp representing the call the user has selected
@param program is the Program
@param tokenAtCursor is the point in the window the user has selected
@return the PcodeOp or null
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/OverridePrototypeAction.java