`is_array()` alone is sufficient here.