code: def getProxyForObject(self, obj):
          
          proxied = self.proxied_objects.get(id(obj))
  
          if proxied is None:
              from pyamf import flex
  
              proxied = flex.proxy_object(obj)
  
              self.addProxyObject(obj, proxied)
  
          return proxied
docs: Returns the proxied version of C{obj} as stored in the context, or
          creates a new proxied object and returns that.
  
          @see: L{pyamf.flex.proxy_object}
          @since: 0.6