This can be simplified into:

```objc
return dictionary[key ?: NSNull.null];
```