hasLayer

Returns whether the map currently contains a layer with the specified identifier.