is_url

astropy.utils.data.is_url(string)[source]

Test whether a string is a valid URL for download_file().

Parameters:
stringpython:str

The string to test.

Returns:
statusbool

String is URL or not.