Ofcourse it can be solved by centralized logic. But you'll need to pass on the ranges involved to te centralized logic.

My point was testing the same strings across all sets, i don't have an objection against centralized logic