Tested, implemented UrlIndex::hasDomain