code: def randomizable(function):
      
      @functools.wraps(function)
      def wrapper(self, *args, **kwargs):
          if self.randomize:
              self.randomize_headers()
          return function(self, *args, **kwargs)
      return wrapper
docs: A decorator which randomizes requests if needed