code: def setCheckedDetails(self, checked):
          
          layout = self.layout()
          for i in range(layout.count()):
              w = layout.itemAt(i).widget()
              if w.stimType in checked:
                  w.setChecked(checked[w.stimType])
docs: Sets which components are checked
  
          :param checked: dictionary of stimtype:list<attribute names> for which components and their attributes should be checked
          :type checked: dict