any_of and none_of

Implement any_of and none_of.
Isn't the `return false` and `return true` mixed up? This implementation is the same as for `any_of`