in src/main/java/org/apache/sling/featureflags/impl/ExecutionContextImpl.java [76:89]
boolean isEnabled(final Feature feature) {
if ( this.featureCache == null ) {
this.featureCache = new HashMap<>();
}
final String name = feature.getName();
Boolean result = this.featureCache.get(name);
if (result == null) {
// put false in the cache to stop on circular calls
this.featureCache.put(name, Boolean.FALSE);
result = feature.isEnabled(this);
this.featureCache.put(name, result);
}
return result;
}