check if the url can be parsed