You are right. We started with checking for both `nil` and `empty` but later I think we decided to just use `nil`  or presence of key check, so it can be better written via `slice`.