public static boolean anyInRange(int[] bits, int start, int end) {
    int idx = findFirst(bits, start);
    return (idx >= 0) && (idx < end);
  }
Returns whether any bits are set to {@code true} in the specified range.

@param bits {@code non-null;} bit set to operate on
@param start {@code >= 0;} index of the first bit in the range (inclusive)
@param end {@code >= 0;} index of the last bit in the range (exclusive)
@return {@code true} if any bit is set to {@code true} in the indicated range
android/android_framework/dex-maker/src/main/java/com/android/dx/util/Bits.java