is_url

nbreport.processing.is_url(path_or_url)

Test if the token represents a URL or a local path.

Parameters:
path_or_url : str

Token string that can either be a URL or not.

Returns:
is_url : bool

Returns True is the token is in fact a URL. False otherwise.