code: def filter_rows(self, filters, rows):
          '''returns rows as filtered by filters'''
          ret = []
          for row in rows:
              if not self.row_is_filtered(row, filters):
                  ret.append(row)
          return ref filter_rows(self, filters, rows):
          '''returns rows as filtered by filters'''
          ret = []
          for row in rows:
              if not self.row_is_filtered(row, filters):
                  ret.append(row)
          return ret
docs: returns rows as filtered by filters