code: def filter_record(self, record):
          
  
          if len(record) >= self.min_length:
              return record
          else:
              raise FailedFilter(len(record))
docs: Filter record, dropping any that don't meet minimum length