is_url

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

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

Parameters
stringstr

The string to test.

Returns
statusbool

String is URL or not.