code: def get_visible_toolbars(self):
          
          toolbars = []
          for toolbar in self.toolbarslist:
              if toolbar.toggleViewAction().isChecked():
                  toolbars.append(toolbar)
          self.visible_toolbars = toolbars
docs: Collects the visible toolbars.