def render(context, value, **kwargs):
    """Renders a given string or literal
    args:
        context (Jinja2 context): context information and variables to use when
            evaluating the provided template string.
        value (str): Jinja2 template string to evaluate given the provided context
    returns:
        (str|None): the rendered value or string
    """
    if kwargs:
        kwargs.update(context)
        ctx = kwargs
    else:
        ctx = context

    data_template = context.environment.from_string(value)
    return data_template.render(**ctx)