public boolean containsLanguage ( @ Nullable final String sLanguage ) { if ( sLanguage == null ) return false ; final String sValidLanguage = LocaleHelper . getValidLanguageCode ( sLanguage ) ; if ( sValidLanguage == null ) return false ; return m_aRWLock . readLocked ( ( ) -> m_aLanguages . contains ( sValidLanguage ) ) ; }
Check if the passed language is known .