I think `ArrayUtils` had this check somewhere