Return true if there are multiple distinct functions along with non-distinct functions.
Return true if the Attribute passed is one of aggregates in the aggs list.
Return true if the Attribute passed is one of aggregates in the aggs list. Use it with caution. We are comparing the name of a column looking for anything that matches with the values in aggs.