def __call__(self, record):
        new = getattr(record, self.field)
        check = self.previous != new
        self.previous = new
        return check
Check if the field in the new record has changed.
dataset/ETHPy150Open enthought/pikos/pikos/filters/on_change.py/OnChange.__call__