@property
    @memoized
    def keyword(self):
        sk = super(EditNormalKeywordView, self).keyword
        # don't allow structured keywords to be edited in this view.
        if [a.action for a in sk.actions] in METHOD_STRUCTURED_SMS:
            raise Http404()
        return sk
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/views.py/EditNormalKeywordView.keyword/swapped operands of `in`