Completed first function and test: Is the string a URL?