def is_url(name):<EOL>
if '<STR_LIT::>' not in name:<EOL><INDENT>return False<EOL><DEDENT>scheme = name.split('<STR_LIT::>', <NUM_LIT:1>)[<NUM_LIT:0>].lower()<EOL>return scheme in ['<STR_LIT:http>', '<STR_LIT>', '<STR_LIT:file>', '<STR_LIT>'] + vcs.all_schemes<EOL>
Returns true if the name looks like a URL