def METHOD_NAME(self, user):
    """Counts the users penalties this term, used in _asser_user_allowed_to_register"""
    MAX_PENALTY = 4  # This is the limit at which one is not allowed to register
    # user.get_penalties returns EventRegistrations where the user has penalties
    penalty_count = sum([reg.penalty for reg in user.get_penalties()])
    return False if penalty_count >= MAX_PENALTY else True