code: def maybe_wait(func):
      
      def wrapper(self, *args, **kwargs):
          if self.slow:
              time.sleep(random.randint(5, 15))
          return func(self, *args, **kwargs)
  
      return wrapper
docs: Wrapper around run() methods that reads the *slow* flag to decide whether to wait some seconds
      for illustrative purposes. This is very straight forward, so no need for functools.wraps here.