Check if the model is a collection in read method