def add_template_context(self, context, selected_options, **kwargs):
        """
        Add context for the product template.
        Return the updated context.
        """
        from product.utils import serialize_options

        options = serialize_options(self, selected_options)
        if not context in 'options':
            context['options'] = options
        else:
            curr = list(context['options'])
            curr.extend(list(options))
            context['options'] = curr

        return context
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/modules/custom/models.py/CustomProduct.add_template_context/swapped operands of `in`