private Address getReferencedAddress(Address address) {
		Listing listing = currentProgram.getListing();
		Reference[] refs = listing.getCodeUnitAt(address).getOperandReferences(0);
		if ((refs.length > 0) && (refs[0].isMemoryReference())) {
			return refs[0].getToAddress();
		}
		return null;
	}
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