DO NOT USE THIS INSTANCE FOR LIVE DATA!!!!
https://github.com/apache/hbase/blob/90f4ff7d7c6997f61dbe40748b5c157879352acb/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java#L771
it should be
default boolean isLast() { return Bytes.equals(getEndKey(), HConstants.EMPTY_END_ROW); }
GitHub Pull Request #2050
GitHub Pull Request #2051