Checks if a string is a valid URL.
The string to validate.
Options for URL validation.
true if the string is a valid URL, false otherwise.
true
false
Checks if a string is a valid URL.