Ah, thanks, I didn't know about that variant of `isdefined`.