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);
	  }
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);
	  }
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 ) ; }
Check if we need to hide/show the settings menu
Check if we need to hide / show the settings menu