When implemented by a class, evaluates the condition it checks and updates the IValidator.IsValid property.