public static function isSSL() { return array_key_exists('HTTPS', $_SERVER) && 'on' === $_SERVER['HTTPS']; }