I can't guarantee it, if the template logic changes it could become undefined and thus the if would catch that. In all reality using ! is probably fine, this is just a little more defensive. I'm going to leave it as is.
I did remove the comment though to avoid any confusion of what I mean by should.
Originally posted by @nick-livefront in bitwarden/clients#17800 (comment)