#NEWLINE# @ staticmethod #NEWLINE# def validate_url( path ) : #NEWLINE# #INDENT# 'Validates whether the given path is a URL or not.\n\n        If the given path includes a scheme (http, https, ftp, ...) and a net\n        location (a domain name such as www.github.com) it is validated as a\n        URL.\n        ' #NEWLINE# parsed = urlparse ( path ) #NEWLINE# return ( bool ( parsed . scheme ) and bool ( parsed . netloc ) )