Move from .iter().any() to .contains and fixes some typos
#1509
+6
−6
.iter().any() to .contains and fixes some typos
#1509