code: public boolean destroy(Contextual bean)
      {
          ContextualStorage storage = getContextualStorage(false);
          if (storage == null)
          {
              return false;
          }
          ContextualInstanceInfo<?> contextualInstanceInfo = storage.getStorage().get(storage.getBeanKey(bean));
  
          if (contextualInstanceInfo == null)
          {
              return false;
          }
  
          bean.destroy(contextualInstanceInfo.getContextualInstance(), contextualInstanceInfo.getCreationalContext());
  
          return true;
      }
docs: Destroy the Contextual Instance of the given Bean.
  @param bean dictates which bean shall get cleaned up
  @return <code>true</code> if the bean was destroyed, <code>false</code> if there was no such bean.