code: def has_free_moves(self):
          
          return any(self._can_cell_be_merged(x, y)
                     for x in range(self.COUNT_X)
                     for y in range(self.COUNT_Y))
docs: Returns whether a move is possible, when there are no free cells.