code: public static boolean isPassivationCapableDependency(Bean<?> bean) {
          if (bean instanceof RIBean<?>) {
              return ((RIBean<?>) bean).isPassivationCapableDependency();
          }
          return bean instanceof PassivationCapable;
      }
docs: Tests if a bean is capable of having its state temporarily stored to secondary storage
  
  @param bean The bean to inspect
  @return True if the bean is passivation capable