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
Test that a SecretData object can be instantiated with all arguments.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/grid/simple_grid_model.py/SimpleGridModel.is_column_read_only--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/objects/test_secret_data.py/TestSecretData.test_init_with_args