code: def saveState(self):
      rows = []
      for i in range(len(self.rowNames)):
          row = [self.rowNames[i]] + [
              c.isChecked() for c in self.rowWidgets[i][1:]
          ]
          rows.append(row)
      return {"cols": self.columns, "rows": rows}
  
file_path: pyqtgraph/pyqtgraph/widgets/CheckTable.py
imports: from ..Qt import QtCore, QtWidgets
  from .None import VerticalLabel
label_desc: Use image node_id 6 for calling the CheckTable obj's underlying member method code with example usage: obj.saveState() and returns: dict