def _get_proxy_object(self, obj, ProxyKlass, proxy_klass_attribute):
        """ Returns the proxy object for an input object

        If the object is already the proxy object, return it.
        Otherwise set the appropriate proxy object to the proxy object's attribute
        """
        proxy_object = obj
        if not isinstance(obj, ProxyKlass):
            proxy_object = ProxyKlass(**{proxy_klass_attribute: obj})
        return proxy_object
Returns the proxy object for an input object

        If the object is already the proxy object, return it.
        Otherwise set the appropriate proxy object to the proxy object's attribute