code: public static boolean isBeanProxyable(Bean<?> bean, BeanManagerImpl manager) {
          if (bean instanceof RIBean<?>) {
              return ((RIBean<?>) bean).isProxyable();
          } else {
              return Proxies.isTypesProxyable(bean.getTypes(), manager.getServices());
          }
      }
docs: Indicates if a bean is proxyable
  
  @param bean The bean to test
  @return True if proxyable, false otherwise