def METHOD_NAME(sender, comment, **kwargs):
    if hasattr(comment, 'comment_moderation'):
        comment_moderation = comment.comment_moderation
        comment_moderation.state = CommentModeration.CommentModerationState.UNMODERATED
        comment_moderation.save(update_fields=['state'])