Searches for and returns a value which determines if the collection contains the given
Layer in the layer collection.
Parameters
- layer
- The Layer to locate in the collection.
Return Value
A boolean value which is true if the collection contains the specified layer. Otherwise, false is returned.