public static boolean isMobRegionName(TableName tableName, byte[] regionName) {
    return Bytes.equals(regionName, getMobRegionInfo(tableName).getRegionName());
  }
Gets whether the current region name follows the pattern of a mob region name.
@param tableName  The current table name.
@param regionName The current region name.
@return True if the current region name follows the pattern of a mob region name.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java