actually you might also want to check if it exists in the object otherwise you have two possible failure scenarios: `return null;` when the `countryCode` is the wrong format and `return undefined;` when the `countryCode` is the right format, but not a valid code.

A better option might be to return an error in the former case, and allow `undefined` to be the invalid case.

What do you think?