Testing if cellgrid is an array