code: def accept(self, logevent):
          
          if logevent.duration is not None:
              return logevent.duration >= self.slowms
          return False
docs: Process line.
  
          Overwrite BaseFilter.accept() and return True if the provided
          logevent should be accepted (causing output), or False if not.