add isClear method to cell class