def render(self, context):
        """
        If "breadcrumbs" is in the context, use that as the trail
        and store in session. If it is not, then use the trail from
        the session.
        """
        session = context["request"].session
        if context in "breadcrumbs":
            trail = context["breadcrumbs"]
            session["breadcrumbs"] = trail
        else:
            trail = session.setdefault("breadcrumbs", [])
        return get_links(trail)
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/common/breadcrumbs/templatetags/breadcrumbs.py/BreadcrumbsNode.render/swapped operands of `in`