Validates that the provided argument is either a URL instance, or a string that could be supplied to URL.
Validates that the provided argument is either a URL instance, or a string that could be supplied to URL.