$scope.isUsingGroupings = function () {
                return $scope.activity.groupings && $scope.activity.groupings.length > 0;
            };