Simplify isArray definition.