code: def before(self):
          
          user = self.request.user()
  
          if user and user.verified_at is None:
              self.request.redirect('/email/verify')
docs: Run This Middleware Before The Route Executes.