public boolean isArchivingEnabled(byte[] table) throws KeeperException {
    String tableNode = this.getTableNode(table);
    return ZKUtil.checkExists(zooKeeper, tableNode) >= 0;
  }
Check to see if the table is currently marked for archiving
@param table name of the table to check
@return <tt>true</tt> if the archive znode for that table exists, <tt>false</tt> if not
@throws KeeperException if an unexpected zookeeper error occurs
hbase-server/src/main/java/org/apache/hadoop/hbase/backup/example/HFileArchiveManager.java