public boolean isHealthy() {
    Optional<Boolean> operatorsAreReady = areOperatorsStarted(operators);
    if (operatorsAreReady.isEmpty() || !operatorsAreReady.get()) {
      return false;
    }

    Optional<Boolean> runtimeInfosAreHealthy =
        operators.stream()
            .map(operator -> checkInformersHealth(operator.getRuntimeInfo()))
            .reduce((a, b) -> a && b);

    if (runtimeInfosAreHealthy.isEmpty() || !runtimeInfosAreHealthy.get()) {
      return false;
    }

    for (SentinelManager<?> sentinelManager : sentinelManagers) {
      if (!sentinelManager.allSentinelsAreHealthy()) {
        log.error("One sentinel manager {} reported an unhealthy condition.", sentinelManager);
        return false;
      }
    }

    return true;
  }
@Test
  void testHealthProbeWithSentinelHealthWithMultiOperators() {
    var sentinelManager = mock(SentinelManager.class);
    HealthProbe healthyProbe =
        new HealthProbe(operators, Collections.singletonList(sentinelManager));
    isRunning.set(true);
    isRunning2.set(true);
    when(sentinelManager.allSentinelsAreHealthy()).thenReturn(false);
    assertFalse(
        healthyProbe.isHealthy(), "Healthy Probe should fail when sentinels report failures");

    when(sentinelManager.allSentinelsAreHealthy()).thenReturn(true);
    assertTrue(healthyProbe.isHealthy(), "Healthy Probe should pass");
  }