@Override
    public boolean isCompactionEnabled() {
      return getOrDefault(COMPACTION_ENABLED_KEY, Boolean::valueOf, DEFAULT_COMPACTION_ENABLED);
    }
Check if the compaction enable flag of the table is true. If flag is false then no
minor/major compactions will be done in real.
@return true if table compaction enabled
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableDescriptorBuilder.java