code: private static boolean isWeldProxy(Class<?> clazz) {
          for (Class<?> implementedInterface : clazz.getInterfaces()) {
              if (implementedInterface.getName().equals(WELD_PROXY_INTERFACE_NAME)) {
                  return true;
              }
          }
  
          return false;
      }
docs: Whether the given class is a proxy created by Weld or not. This is the
  case if the given class implements the interface
  {@code org.jboss.weld.bean.proxy.ProxyObject}.
  
  @param clazz
  the class of interest
  @return {@code true} if the given class is a Weld proxy, {@code false}
  otherwise