public static boolean isEmpty(ByteRange range) {
    return range == null || range.getLength() == 0;
  }
Returns true when {@code range} is of zero length, false otherwise.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractByteRange.java