I think `isArray` is a function, can you switch to invoking it for this check?  Either that, or switch to `_.isArray(errors)`.