in urlutils.py [0:0]
def urlexists(url): """ Does URL exist? """ req = Request(url) try: urlopen(req) return True except HTTPError: return False