code: def _single_length_title(self, table, row_index, current_col):
          '''
          Returns true if the row is a single length title element with no other row titles. Useful
          for tracking pre-data titles that belong in their own block.
          '''
          if len(table[row_index]) - current_col <= 0:
              return False
          return (is_text_cell(table[row_index][current_col]) and
                  all(not is_text_cell(table[row_index][next_column])
                      for next_column in xrange(current_col + 1, len(table[row_index])))f _single_length_title(self, table, row_index, current_col):
          '''
          Returns true if the row is a single length title element with no other row titles. Useful
          for tracking pre-data titles that belong in their own block.
          '''
          if len(table[row_index]) - current_col <= 0:
              return False
          return (is_text_cell(table[row_index][current_col]) and
                  all(not is_text_cell(table[row_index][next_column])
                      for next_column in xrange(current_col + 1, len(table[row_index]))))
docs: Returns true if the row is a single length title element with no other row titles. Useful
          for tracking pre-data titles that belong in their own block.