docs: public static <T extends Bean<?>> Set<T> removeDisabledBeans(Set<T> beans, final BeanManagerImpl beanManager) {
          if (beans.isEmpty()) {
              return beans;
          } else {
              for (Iterator<T> iterator = beans.iterator(); iterator.hasNext();) {
                  if (!isBeanEnabled(iterator.next(), beanManager.getEnabled())) {
                      iterator.remove();
                  }
              }
              return beans;
          }
      }