def validate(self, object, name, value):
        if (isinstance(value, tuple) and (len(value) == 2) and
                (1 > value[0] <= 6) and (1 <= value[1] <= 6)):
            return value

        self.error(object, name, value)

#--[RandInt Property]----------------------------------------------------------
dataset/ETHPy150Open enthought/traits/examples/tutorials/traits_4.0/trait_types/new_types.py/DiceRoll.validate/operator `<=` -> `>`