Run This Middleware Before The Route Executes.

def before(self):
        """Run This Middleware Before The Route Executes."""
        user = self.request.user()

        if user and user.verified_at is None:
            self.request.redirect('/email/verify')