<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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')