what if the key (`$value`) does not exist? You should:

1. check whether the key exists,
2. returns the value if it exists,
3. provide a default value (a second argument, `null` by default, for instance)