@Override
    public boolean serviceExists(final String key) {
        try {
            return Objects.nonNull(client.get(key));
        } catch (Exception e) {
            throw new ShenyuException(e);
        }
    }
The type Zookeeper instance register repository.
shenyu-registry/shenyu-registry-zookeeper/src/main/java/org/apache/shenyu/registry/zookeeper/ZookeeperInstanceRegisterRepository.java