Checking whether the cell is filled or not.