code: def ss_wrap(func):
      
  
      def wrapper(self, *args, **kwargs):
          if not self.savedsearch:
              self.savedsearch = SavedSearch(self)
          return func(self, *args, **kwargs)
  
      return wrapper
docs: ensure that a SavedSearch object exists