@Override
	public boolean exists(ModuleMetadata.Id id) {
		try {
			return zkConnection.getClient().checkExists()
					.forPath(moduleDeploymentPath(id)) != null;
		}
		catch (Exception e) {
			throw ZooKeeperUtils.wrapThrowable(e);
		}
	}
Resolve the module option value using the module metadata.

@param metadataMap the values map from ZK module metadata
@return the resolved option values
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/store/ZooKeeperModuleMetadataRepository.java