I created a function that prompts the user for a URL, then validates that the entered input is actually a URL. The issue is, when I call this function from my other function