any_of and none_of

Implement any_of and none_of.
You should add your copyright, too.