ensure return value of isArray is Boolean
Merge pull request #507 from davidchambers/is-array

ensure return value of isArray is Boolean