verify that the object is not an array