code: def filterAcceptsRow(self, sourceRow, sourceParent):
          
          if not self.onlyShowImported:
              return True
  
          item = self.sourceModel().registry.items[sourceRow]
          return bool(item.successfullyImported)
docs: If onlyShowImported is True, regItems that were not (successfully) imported are
              filtered out.