@staticmethod
    def validate_url(path):
        parsed = urlparse(path)
        return bool(parsed.scheme) and bool(parsed.netloc)
Validates whether the given path is a URL or not.
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/utils/urlutils.py/UrlUtils.validate_url