Layers > Toggle Unused layers

Turns on and off the display of empty layers in the Layer bar and Modeling Layers Editor.