contains
Checks to see if the collection contains a given layer.
Return
true if the collection contains the layer, false otherwise.
Parameters
layer
the layer to check for.
Checks to see if the collection contains a given layer.
true if the collection contains the layer, false otherwise.
the layer to check for.