hasSource

Returns whether the map currently contains a data source with the specified identifier.

Return

True if the map contains the data source, false otherwise.

Parameters

id

Identifier of the data source to check for.