public boolean hasLeaderInformation(String componentId) {
        return leaderInformationPerComponentId.containsKey(componentId);
    }
@Test
    void testHasLeaderInformation() {
        final String componentId = "component-id";
        final LeaderInformation leaderInformation =
                LeaderInformation.known(UUID.randomUUID(), "address");
        assertThat(
                        LeaderInformationRegister.of(componentId, leaderInformation)
                                .hasLeaderInformation(componentId))
                .isTrue();
    }