Evaluates the filter with the given value.
All filters are assumed to be deterministic (return the same value for the same input).
The value the filter should evaluate