docs: private boolean shouldInsertNotification(final InternalTenantContext internalTenantContext) {
          OverdueConfig overdueConfig;
          try {
              overdueConfig = overdueConfigCache.getOverdueConfig(internalTenantContext);
          } catch (final OverdueApiException e) {
              log.warn("Failed to extract overdue config for tenantRecordId='{}'", internalTenantContext.getTenantRecordId());
              overdueConfig = null;
          }
          if (overdueConfig == null || overdueConfig.getOverdueStatesAccount() == null || overdueConfig.getOverdueStatesAccount().getStates() == null) {
              return false;
          }
  
          for (final DefaultOverdueState state : ((DefaultOverdueConfig) overdueConfig).getOverdueStatesAccount().getStates()) {
              if (state.getConditionEvaluation() != null) {
                  return true;
              }
          }
          return false;
      }