docs: public static boolean isPassivationCapableBean(Bean<?> bean) {
          if (bean instanceof RIBean<?>) {
              return ((RIBean<?>) bean).isPassivationCapableBean();
          } else {
              return bean instanceof PassivationCapable;
          }
      }