def __call__(self, record):
        value = getattr(record, self.field)
        return value in self.values
Check for the value in the field.
dataset/ETHPy150Open enthought/pikos/pikos/filters/on_value.py/OnValue.__call__