code: def require_auth(function):
      
      @functools.wraps(function)
      def wrapper(self, *args, **kwargs):
          if not self.access_token():
              raise MissingAccessTokenError
          return function(self, *args, **kwargs)
      return wrapper
docs: A decorator that wraps the passed in function and raises exception
      if access token is missing