return whether a string key is within a levelup-style range