public getOutputStream() as SSLSocketOutputStream:
import klyn.net.ssl socket = SSLSocket() print(socket.getOutputStream() is SSLSocketOutputStream)