def proxy_server(self):
        """
        The ProxyServer element referenced in this protocol parameter, if any.
        
        :return: The proxy server element or None if one is not assigned
        :rtype: ProxyServer
        """
        # TODO: Workaround for SMC 6.4.3 which only provides the inspected service
        # reference. We need to find the Proxy Server from this ref.
        if self._inspected_service_ref:
            for proxy in ProxyServer.objects.all():
                if self._inspected_service_ref.startswith(proxy.href):
                    return proxy
def proxy_server ( self ) : if self . _inspected_service_ref : for proxy in ProxyServer . objects . all ( ) : if self . _inspected_service_ref . startswith ( proxy . href ) : return proxy
The ProxyServer element referenced in this protocol parameter, if any.
        
        :return: The proxy server element or None if one is not assigned
        :rtype: ProxyServer