array_first functionality in Collection
test
Merge pull request #2858 from anlutro-pull-requests/collection-first

array_first functionality in Collection