public function languageExists($laguageName)
    {
        $language = $this->languageRepository->fromLanguageName($laguageName);

        return (null !== $language && count($language) > 0) ? true : false;
    }
public function languageExists($laguageName)
    {
        $language = $this->languageRepository->fromLanguageName($laguageName);

        return (null !== $language && count($language) > 0) ? true : false;
    }
public function languageExists ( $ laguageName ) { $ language = $ this -> languageRepository -> fromLanguageName ( $ laguageName ) ; return ( null !== $ language && count ( $ language ) > 0 ) ? true : false ; }
Checks when the given language name exists

@param  string  $laguageName
@return boolean

@api
Checks when the given language name exists