<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_email_verified(self, request, email):
 """ Checks whether or not the email address is already verified beyond allauth scope, for example, by having accepted an invitation before signing up. """

        ret = False
        verified_email = request.session.get('account_verified_email')
        if verified_email:
            ret = verified_email.lower() == email.lower()
        return ret