hasLayer

Return

true if a layer with that id is registered.

Parameters

id

Layer id.