You shouldn't need to do an isset() check before calling unset(). Like isset() unset() doesn't emit errors.