isRange
Efficient method to check if a range of bits is set, or not set.
Return
true iff all bits are set or not set in range, according to value argument
Parameters
start
start of range, inclusive.
end
end of range, exclusive
value
if true, checks that bits in range are set, otherwise checks that they are not set
Throws
if end is less than start or the range is not contained in the array