think we can replace it with `Array.isArray`
think we can replace it with
Array.isArray