def METHOD_NAME(user, threshold):
    """When a comment is marked as spam, make appropriate status update to user model
    """
    total_spam = ProposalComment.objects.filter(commenter=user, is_spam=True).count()
    if total_spam >= threshold:
        if user.is_active is True:
            user.is_active = False
            user.save()
    else:
        if user.is_active is False:
            user.is_active = True
            user.save()