Returns the legend collapsed state for a layer, defaulting to false if not found.
The map identifier
The layer path to check
True if the layer legend is collapsed
Returns the legend collapsed state for a layer, defaulting to false if not found.