public Function getFunction() {
		return newFunc;
	}
Returns function if create command was successful

@return last new created function, null if failed
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/CreateFunctionCmd.java