compares the old value of the filter with the one that is going to be set
The function is called automatically by the setValue method when a new value is being set for a control.
The function's parameters include:
The function returns true for equal values and false for non-equal ones.
Not supposed for direct calls.