def is_uri(uri):
 return (('://' in uri) and bool(urlparse(uri).scheme))

def is_uri ( uri ) : return ( ( '://' in uri ) and bool ( urlparse ( uri ) . scheme ) )
return true if *uri* is a uri and contains :// .