public final boolean isEnabledInState(GrazieConfig.State state) {
    return isEnabledByDefault() ? !state.getUserDisabledRules().contains(globalId)
                                : state.getUserEnabledRules().contains(globalId);
  }
public final boolean isEnabledInState(GrazieConfig.State state)