validates that url is a url