public boolean hasVariants() {
        return variants != null;
    }
Indicates whether the origin response indicated the associated
resource had variants (i.e. that the Vary header was set on the
origin response).
httpclient5-cache/src/main/java/org/apache/hc/client5/http/cache/HttpCacheEntry.java