you don't need to check with `isset` before `unset`. `unset` will be silent in case the index doesnt exist