def are_in_same_row(cell, free_cell):
    """ Check if the given cell is in the same row than the free_cell.
    :arg cell, the coordinate of the cell in the table.
    :arg free_cell, the coordinate of the free cell in the table.
    """
    ycell = list(cell)[0][1]
    yfreecell = list(free_cell)[0][1]

    return ycell == yfreecell