docs: private boolean isCDIEnabled(Collection<WebSphereBeanDeploymentArchive> bdas) {
          boolean anyHasBeans = false;
          for (WebSphereBeanDeploymentArchive bda : bdas) {
              boolean hasBeans = false;
  
              if (bda.getType() != ArchiveType.RUNTIME_EXTENSION) {
                  hasBeans = isCDIEnabled(bda);
              }
              anyHasBeans = anyHasBeans || hasBeans;
  
              if (anyHasBeans) {
                  break;
              }
          }
          return anyHasBeans;
      }