The domain of the function where the rule applies seems to be words that refer to cities. There doesn't appear to be any part of the domain where the rule does not hold.

Is there anything else I can help you with?