I was under the impression that `if str in str2` was the more Pythonic method. It also allows a user to enter i.e. `'constants'` and obtain the same behavior. It benchmarks about 15 ns slower (~70 ns vs. 84 ns) on my machine, but that is pretty negligible.