Add contains method to base collection
Merge pull request #4974 from JosephSilber/collection-contains

Add contains method to base collection