returns true if the protocol of the page is https and false, if it's http
if (webix.env.https) do_something();