ensure return value of isArray is Boolean

I hereby revoke our `&&` licence. ;)