private String toLastItemVariableExpression(TypeReference typeReference, boolean serialize, Tracer tracer) {
        tracer = tracer.dive("lastItem");
        // The last item is accessed in the context via the utils.GetLastItemFromContext(ctx) method
        return tracer + "utils.GetLastItemFromContext(ctx)";
    }
Returns an expression that accesses the last item of the context in Python.
@param typeReference the type reference of the given data
@param serialize whether the data is serialized
@param tracer the tracer for this expression
@return an expression that accesses the last item of the context in Python
code-generation/language-python/src/main/java/org/apache/plc4x/language/python/PythonLanguageTemplateHelper.java