public function isHidden($slug) { return config('linguist.hide_default') && $this->defaultLocale() == $slug; }