public static boolean hasPlrselPart ( List < SoyMsgPart > msgParts ) { for ( SoyMsgPart origMsgPart : msgParts ) { if ( origMsgPart instanceof SoyMsgPluralPart || origMsgPart instanceof SoyMsgSelectPart ) { return true ; } } return false ; }
Checks whether a given list of msg parts has any plural or select parts .