public static boolean hasMobColumns(TableDescriptor htd) {
    ColumnFamilyDescriptor[] hcds = htd.getColumnFamilies();
    for (ColumnFamilyDescriptor hcd : hcds) {
      if (hcd.isMobEnabled()) {
        return true;
      }
    }
    return false;
  }
Checks whether this table has mob-enabled columns.
@param htd The current table descriptor.
@return Whether this table has mob-enabled columns.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java