def relative_to_full(url, example_url):
    if re.match('https?:\/\/', url):
        return url
    domain = get_domain(example_url)
    if domain:
        return '%s%s' % (domain, url)
    return url
Returns True if the attrbute indicated by the given pathname
dataset/ETHPy150Open worldcompany/djangoembed/oembed/utils.py/relative_to_full--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/index.py/deep_hasattr