Tests the given value against the rule.
true if the value passes the rule; false otherwise.
true
false
The value to test.
Whether to perform the test without side effects.