Set the visibility of the active layer to on / off
in all existing views.
For new pages the visibility depends on the layer's visibilty flag,
unless you again declare it (this function) to visible or invisible.
So creating a new page may or may not include this layer.