code: private boolean isSetCurrentComponent(FacesContext context) {
          if (null != isSetCurrentComponent) {
              return isSetCurrentComponent;
          }
          
          
          Boolean bool = (Boolean) context.getAttributes().get(HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME);
          if (null != bool) {
              isSetCurrentComponent = bool;
          } else {
              String val = context.getExternalContext().getInitParameter(UIComponent.HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME);
              isSetCurrentComponent = Boolean.valueOf(val);           
          }
          
          return isSetCurrentComponent;  
      }
docs: /*
  Respecting the fact that someone may have decorated FacesContextFactory
  and thus skipped our saving of this init param, look for the init
  param and return its value.  The return is saved in a transient ivar
  to provide performance while not perturbing state saving.