assert that batch is an array
description
4.7.1