def is_url(name):
    if (':' not in name):
        return False
    scheme = name.split(':', 1)[0].lower()
    return (scheme in ['http', 'https', 'file', 'ftp', 'ssh', 'git', 'hg', 'bzr', 'sftp', 'svnssh'])
def is_url(name):
    if (':' not in name):
        return False
    scheme = name.split(':', 1)[0].lower()
    return (scheme in ['http', 'https', 'file', 'ftp', 'ssh', 'git', 'hg', 'bzr', 'sftp', 'svnssh'])