Gets the visible state for a specific layer.
The map identifier
The layer path to look up
The layer visible state, defaults to false
Gets the visible state for a specific layer.