public function getLangAttribute($name) { return $this->hasLangAttribute($name) ? $this->langAttributes[$name] : null; }