I've been bothered by code duplication when using exists many a time. Unfortunately, I've never ever found a satisfactory solution (and believe me, it's not for lack of trying).
Makeshifts last the longest.
Comment on Re: Shortening "$bar{foo} if exists $bar{foo}"?