def valid_value(self, element, value):
        return value in self.valid_values
True if *value* is within :attr:`valid_values`.
dataset/ETHPy150Open jek/flatland/flatland/schema/scalars.py/Enum.valid_value