Expand/Collapse All button should be hidden on pages without methods

Expand/Collapse button is hidden:
* On pages with 1 method
* On pages with 0 methods