def __need_ssl(self, host_and_port=None):
        """
        Whether current host needs SSL or not.
        """
        if not host_and_port:
            host_and_port = self.current_host_and_port

        return host_and_port in self.__ssl_params
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/transport.py/Transport.__need_ssl/original