def checkNextActions(grid):
    """
    return True : if there is one/+ possible action 
    return False : if there is no possible action
    """
    if any(None in line for line in grid): 
        return True

    # Check lines
    lastCase = False
    for line in range(4):
        for case in range(4):

            if case == 0:
                pass
            elif lastCase == grid[line][case]:
                return True
            lastCase = grid[line][case]
    
    # Check columns
    lastCase = False
    for case in range(4):
        for column in range(4):

            if case == 0:
                pass
            elif lastCase == grid[column][case]:
                return True
            lastCase = grid[column][case]
    
    return False