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.

See also