@Deprecated(since = "7.4", forRemoval = true)
	public final Function getFunction(String name) {
		List<Function> globalFunctions = currentProgram.getListing().getGlobalFunctions(name);
		return globalFunctions.isEmpty() ? null : globalFunctions.get(0);
	}
Returns the function with the specified name, or
null if no function exists. (Now returns the first one it finds with that name)
@param name the name of the function
@return the function with the specified name, or
null if no function exists
@deprecated this method makes no sense in the new world order where function  names
			   no longer have to be unique. Use {@link #getGlobalFunctions(String)}
			   Deprecated in Ghidra 7.4
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java