Check if we need to hide/show the settings menu
function checkMenu() {
	    var buttons = this.elements.settings.buttons;
	    var visible = !is$1.empty(buttons) && Object.values(buttons).some(function (button) {
	      return !button.hidden;
	    });
	    toggleHidden(this.elements.settings.menu, !visible);
	  }