code: def accept(self, logevent):
          
          ns = logevent.nscanned
          nr = logevent.nreturned
  
          if ns is not None and nr is not None:
              if nr == 0:
                  # avoid division by 0 errors
                  nr = 1
              return (ns > 10000 and ns / nr > 100)
  
          return False
docs: Process line.
  
          Overwrite BaseFilter.accept() and return True if the provided
          logevent should be accepted (causing output), or False if not.