Potential fix for #3051. Add isModel method to collections
rename to _isModel, add semi-colon, move to be next to other internal methods
Merge pull request #3052 from HenrikJoreteg/master

Potential fix for #3051. Add isModel method to collections.