klyn.net.URL.isHttps
property
public readonly property isHttps as Boolean:
Description

Returns true for https URLs.

import klyn.net

url = URL("https://example.com")
print(url.isHttps)