is_uri

lsst.ts.scheduler.utils.is_uri(uri)

Check if input is a valid uri.

Parameters:

uri (str) – String to check if it is a valid uri.

Returns:

True if uri is valid.

Return type:

bool