check whether a number is aggregated number or not