code: def set_block_name(self, index, name):
          
          if name is None:
              return
          self.GetMetaData(index).Set(vtk.vtkCompositeDataSet.NAME(), name)
          self.Modified()
docs: Set a block's string name at the specified index