public static boolean isMobRegionInfo(RegionInfo regionInfo) {
    return regionInfo == null
      ? false
      : getMobRegionInfo(regionInfo.getTable()).getEncodedName()
        .equals(regionInfo.getEncodedName());
  }
Gets whether the current RegionInfo is a mob one.
@param regionInfo The current RegionInfo.
@return If true, the current RegionInfo is a mob one.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java