moving checkRepeatRange helper
moving checkRepeatRange helper


Former-commit-id: b5f0b8065f9fd8d583a51038fbca7ab792e2bbb9 [formerly 10eb4f05a41bfcee8ab532e7a1ba9f2782276878]
Former-commit-id: 0db4849f511d666d79483dbbdfff6d522939e2a8
romancow/Sugar,romancow/Sugar,andrewplummer/Sugar,andrewplummer/Sugar