public function hasTranslation($language = null)
    {
        $translation = $this->getTranslation($language);
        return $translation && $this->isTranslationActive($translation);
    }
public function hasTranslation($language = null)
    {
        $translation = $this->getTranslation($language);
        return $translation && $this->isTranslationActive($translation);
    }
public function hasTranslation ( $ language = null ) { $ translation = $ this -> getTranslation ( $ language ) ; return $ translation && $ this -> isTranslationActive ( $ translation ) ; }
Model has translation to the language

@param string|null $language the language to return. If null, current sys language

@return bool
Model has translation to the language