private void initializeHasTlsPorts() {
        @Cleanup
        Response response = doHttpRequest(MGMT_PORT, "/pools/default/nodeServices", "GET", null, true);

        try {
            String clusterTopology = response.body().string();
            hasTlsPorts =
                !MAPPER
                    .readTree(clusterTopology)
                    .path("nodesExt")
                    .path(0)
                    .path("services")
                    .path("mgmtSSL")
                    .isMissingNode();
        } catch (IOException e) {
            throw new IllegalStateException("Couchbase /pools/default/nodeServices did not return valid JSON");
        }
    }
Initializes the {@link #hasTlsPorts} flag.
<p>
Community Edition might support TLS one happy day, so use a "supports TLS" flag separate from
the "enterprise edition" flag.
modules/couchbase/src/main/java/org/testcontainers/couchbase/CouchbaseContainer.java