code: def same_row(c):
      
      return same_table(c) and all(
          is_row_aligned(_to_span(c[i]).sentence, _to_span(c[0]).sentence)
          for i in range(len(c))
      )
docs: Return True if all Mentions in the given candidate are from the same Row.
  
      :param c: The candidate whose Mentions are being compared
      :rtype: boolean