class AnalyticsUtils {

    public static boolean hasPeriod( List<Object> row, int periodIndex )
    {
        return periodIndex < row.size() && row.get( periodIndex ) instanceof String
            && PeriodType.getPeriodFromIsoString( (String) row.get( periodIndex ) ) != null;
    }

}