def is_url(self, template):
    '\n        Returns True if the name looks like a URL\n        '
    if (':' not in template):
        return False
    scheme = template.split(':', 1)[0].lower()
    return (scheme in self.url_schemes)
Returns True if the name looks like a URL
def is_url(self, template):
    '\n        \n        '
    if (':' not in template):
        return False
    scheme = template.split(':', 1)[0].lower()
    return (scheme in self.url_schemes)