public boolean hasConfigRepo(String configRepoId) {
        return this.getConfigRepo(configRepoId) != null;
    }
@Test
    public void shouldReturnTrueIfContainsConfigRepoWithTheSpecifiedId() {
        ConfigRepoConfig repo = ConfigRepoConfig.createConfigRepoConfig(git("http://git1"), "myplugin", "id");
        repos.add(repo);

        assertThat(repos.hasConfigRepo(repo.getId()), is(true));
    }