def is_row_empty(self, row):
    """Returns True if every cell in the row is empty."""
    for cell in row:
      if not self.is_cell_empty(cell):
        return False
    return True
def is_row_empty ( self , row ) : for cell in row : if not self . is_cell_empty ( cell ) : return False return True
Returns True if every cell in the row is empty.