Makes better use of internal function isArray
Merge pull request #61 from saikobee/topic/Make_use_of_internal_functions

Makes better use of internal function isArray