docs: public static boolean deleteAtomic(ZooKeeperClient zk, String path, String expectedValue)
      {
          final Stat stat = new Stat();
          String value = getWithStat(zk, path, stat);
          if (!expectedValue.equals(value)) {
              return false;
          }
          try {
              zk.get().delete(path, stat.getVersion());
              return true;
          } catch (Exception e) {
              LOG.error("Failed to delete path "+path+" with expected value '"+expectedValue+"'", e);
          }
          return false;
      }