Move isAggregateAStT to HQLParser