Use "not in" to test for membership.
Merge pull request #564 from berkerpeksag/use-not-in

Use "not in" to test for membership.