Or should you check the type of the data?  This seems brittle and likely to change if we ever add other array types.