@InterfaceAudience.Private
  static boolean hasEncodedName(final byte[] regionName) {
    // check if region name ends in ENC_SEPARATOR
    return (regionName.length >= 1)
      && (regionName[regionName.length - 1] == RegionInfo.ENC_SEPARATOR);
  }
Does region name contain its encoded name?
@param regionName region name
@return boolean indicating if this a new format region name which contains its encoded name.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java