def _assert_user_types(user_types):
        if isinstance(user_types, basestring):
            user_types = [user_types]

        for type_ in user_types:
            assert USER_TYPES in type_, "Expected user type to be in {}, got {}".format(USER_TYPES, type_)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/export/filters.py/_assert_user_types/swapped operands of `in`