def METHOD_NAME(cls, user):
    if user.is_moderator:
        return True
    day_comment_count = Comment.visible_objects()\
        .filter(
            author=user, created_at__gte=datetime.utcnow() - timedelta(hours=24)
        )\
        .count()
    return day_comment_count < settings.RATE_LIMIT_COMMENTS_PER_DAY