(cls, email)
return (
            transient_bounce_query.count() + general_bounce_query.count() > BOUNCE_EVENT_THRESHOLD
        )
Determines if an email has passed bounce event limits for general
        and transient bounces
        :param email: string
        :return: boolean
Determines if an email has passed bounce event limits for general
        and transient bounces
        :param email: string
        :return: boolean
Determines if an email has passed bounce event limits for general and transient bounces : param email : string : return : boolean
def is_email_over_limits(cls, email):
        """
        Determines if an email has passed bounce event limits for general
        and transient bounces
        :param email: string
        :return: boolean
        """
        transient_bounce_query = TransientBounceEmail.get_active_query().filter(
            email=email,
        )
        general_bounce_query = PermanentBounceMeta.objects.filter(
            bounced_email__email=email,
            sub_type=BounceSubType.GENERAL,
        )
        return (
            transient_bounce_query.count() + general_bounce_query.count() > BOUNCE_EVENT_THRESHOLD
        )
def is_email_over_limits ( cls , email ) : transient_bounce_query = TransientBounceEmail . get_active_query ( ) . filter ( email = email , ) general_bounce_query = PermanentBounceMeta . objects . filter ( bounced_email__email = email , sub_type = BounceSubType . GENERAL , ) return ( transient_bounce_query . count ( ) + general_bounce_query . count ( ) > BOUNCE_EVENT_THRESHOLD )