private boolean isLanguageAllowed(String languageKey){
  if (allowedLanguages == null)   return true;
  return allowedLanguages.contains(languageKey);
}

private boolean isLanguageAllowed ( String languageKey ) { if ( allowedLanguages == null ) return true ; return allowedLanguages . contains ( languageKey ) ; }
returns whether a language having the given key should be allowed to be loaded . if language availability restrictions are imposed through guacamole . properties , this may return false in some cases . by default , this function will always return true . note that just because a language key is allowed to be loaded does not imply that the language key is valid .
