def get_toggle(self, slug):
        if not [f.slug for f, _ in self.features()] in slug:
            raise Http404()
        try:
            return Toggle.get(slug)
        except ResourceNotFound:
            return Toggle(slug=slug)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/domain/views.py/FeaturePreviewsView.get_toggle/swapped operands of `in`