function showsLayer(which) {
        var layer = layers.layer(which);
        if (layer) {
            return layer.enabled();
        }
        return false;
    }
@param {*} which Id of the selected layer
@returns whether the layer is enabled