/// Check whether a given language is supported
Check whether a given language is supported
Check whether a given language is supported
pub fn is_supported(&self, lang: &str) -> bool {
        // TODO Use good result
        let langs = self.supported_langs().unwrap();
        langs.contains(&lang.to_string())
    }
pub fn is_supported ( & self , lang : & str ) -> bool { // TODO Use good result let langs = self . supported_langs ( ) . unwrap ( ) ; langs . contains ( & lang . to_string ( ) ) }
Check whether a given language is supported
Check whether a given language is supported
&self
lang
&str