529 Defunding as Child attends school

I’ve always wondered…does a need-based grant that count as a scholarship for this purpose?