protected boolean lacksSomeLanguage ( ItemDocument itemDocument ) { for ( int i = 0 ; i < arabicNumeralLanguages . length ; i ++ ) { if ( ! itemDocument . getLabels ( ) . containsKey ( arabicNumeralLanguages [ i ] ) ) { return true ; } } return false ; }
Returns true if the given item document lacks a label for at least one of the languages covered .