style Layer Exists
Checks whether a given style layer exists.
Runtime style layers are valid until they are either removed or a new style is loaded.
Return
True if the given style layer exists, false otherwise.
Parameters
layer Id
Style layer identifier.