app/View/Components/Website/Partials/PageContent.php
// evaluate if page Content has media
evaluate if page Content has media
evaluate if page Content has media
public function contentHasMedia()
    {
        if($this->article->image!='') return true;
        if($this->article->video!='') return true;
        return false;
    }
public function contentHasMedia ( ) { if ( $ this -> article -> image != '' ) return true ; if ( $ this -> article -> video != '' ) return true ; return false ; }
evaluate if page Content has media
evaluate if page Content has media