Please use the built-in dict `get()` function.