def is_url(value):
    url = isinstance(value, basestring) and urlparse(value)
    return url and url.scheme and url.netloc and url.path
Returns True if value is a valid URL.
dataset/ETHPy150Open bigmlcom/python/bigml/util.py/is_url