inRangeBoolean is made private