We tunnel some browser APIs through this module for easier mocking in tests.
Returns whether this layer is no longer part of the layer stack.
Returns whether this layer is still part of the layer stack.