public function isExternal()
    {
        $parentLink = $this->parentLink;
        if($parentLink===null){ //parentLink is null in case of baseUrl
            return false;
        }
                    
        $isExternal = $this->getHost() !== "" && 
                    ($this->getHost() != $parentLink->getHost());
        
        return $isExternal;
    }