title: How to check if GWT RequestFactory's proxy is frozen?
body: <p>This is the way I do it now:</p>
  
  <pre><code>try {
    itemProxy.setQuantity(20);
  } catch (IllegalStateException e){
    itemProxy = context.edit(itemProxy);
    table.replaceProxy(index, itemProxy);
  
    itemProxy.setQuantity(20);
  }
  </code></pre>
  
  <p>Is there any other way than catching the exception? I know that proxy has "frozen" property, because I see it in the Eclipse debugger. But I can't cast the proxy to any class or AutoBean interface to read the value of frozen property.</p>