Don't use "in" operator where a typeof foo check can be used.

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #187 from rwaldron/no-in-op

Don't use "in" operator where a typeof foo check can be used.