protected static function ssl()
	{
		$request = System::getContainer()->get('request_stack')->getCurrentRequest();

		if ($request === null)
		{
			return false;
		}

		return $request->isSecure();
	}