code: public static boolean isForgeProxy(Object object)
     {
        if (object != null)
        {
           Class<?>[] interfaces = object.getClass().getInterfaces();
           if (interfaces != null)
           {
              for (Class<?> iface : interfaces)
              {
                 if (iface.getName().equals(ForgeProxy.class.getName()))
                 {
                    return true;
                 }
              }
           }
        }
        return false;
     }
docs: Returns true if the given object was created via {@link Proxies}.