private boolean isAddressReferenceOperand(int opType) {
		if ((opType & OperandType.ADDRESS) == 0) {
			return false;
		}

		//@formatter:off
		return ((opType & OperandType.DATA) != 0)   ||
			   ((opType & OperandType.SCALAR) != 0) ||
			   ((opType & OperandType.DYNAMIC) != 0);
		//@formatter:on
	}
This will return true if enough pushes before top of function.
This will return false if not enough pushes or if not a function.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/plugin/prototype/MicrosoftCodeAnalyzerPlugin/PropagateExternalParametersAnalyzer.java