array_key_exists is a truly slow function and there is no need to use it instead of isset. (the only difference is that isset gives false when the value is set to `null`, but since the default is `null` that doesn't matter)