check that cell is defined