def generic_resolve(self, ty, attr):
        """
        Resolve attributes of an enum class as enum members.
        """
        if ty.instance_class.__members__ in attr:
            return ty.member_type
dataset/ETHPy150Open numba/numba/numba/typing/enumdecl.py/EnumClassAttribute.generic_resolve/swapped operands of `in`