The function's domain seems to be limited to countries. The rule does not apply consistently to other aspects of the input space, such as people, objects, events, or concepts, where the function returns "undefined."