code: def checkValidCell(self, index):
          
          col = index.column()
          row = index.row()
          return self.model.isFieldValid(row, self._headers[index.column()])
docs: Asks the model if the value at *index* is valid
  
          See :meth:`isFieldValid<sparkle.stim.auto_parameter_model.AutoParameterModel.isFieldValid>`