Checks if a given string is a valid URL.
The string to be checked.
A promise that resolves to true if the URL is valid, false otherwise.
true
false
Checks if a given string is a valid URL.