In a previous feature request someone was looking just to “Collapse” layers. But it should just be a toggle of “Collapse” & “Expand” Object layers.
This is especially useful now that Auto Layout is becoming more widely adopted and objects become multi-nested. Toggling a layer set to be Expanded & Collapsed quickly is needed.