docs: public static boolean isLogDownloadAvailable(CliGuiContext cliGuiCtx) {
          ModelNode readOps = null;
          try {
              readOps = cliGuiCtx.getExecutor().doCommand("/subsystem=logging:read-children-types");
          } catch (CommandFormatException | IOException e) {
              return false;
          }
          if (!readOps.get("result").isDefined()) return false;
          for (ModelNode op:  readOps.get("result").asList()) {
              if ("log-file".equals(op.asString())) return true;
          }
          return false;
      }