code: public static boolean      shouldRetry(int rc)
      {
          return (rc == KeeperException.Code.CONNECTIONLOSS.intValue()) ||
              (rc == KeeperException.Code.OPERATIONTIMEOUT.intValue()) ||
              (rc == KeeperException.Code.SESSIONMOVED.intValue()) ||
              (rc == KeeperException.Code.SESSIONEXPIRED.intValue());
      }
docs: Utility - return true if the given Zookeeper result code is retry-able
  
  @param rc result code
  @return true/false