public boolean hasEndRow() {
    return !Bytes.equals(endRow, HConstants.EMPTY_END_ROW);
  }
Returns true if an end row was specified
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java