Returns whether any parent of the given layer is hidden.
The map identifier
The layer path to check parent visibility for
True if any parent layer is hidden
Returns whether any parent of the given layer is hidden.