def is_column_read_only(self, index):

        # if there is no declaration then assume the column is not
        # read only
        read_only = False
        if self.columns is not None:
            # if we have an explicit declaration then use it
            try:
                read_only = self.columns[index].read_only
            except IndexError:
                pass
        return read_only
Return True if the column specified by the zero-based index
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/grid/simple_grid_model.py/SimpleGridModel.is_column_read_only