public boolean isSetEndKey() {
    return this.endKey != null;
  }
Returns true if field endKey is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java