code: def warmup(f):
      
  
      @wraps(f)
      def wrapped(self, *args, **kwargs):
          if not self.warmed_up:
              self.warmup()
          return f(self, *args, **kwargs)
      return wrapped
docs: Decorator to run warmup before running a command