The exists native applies specifically to hashes and hash references.
print "This user has an age.\n" if exists $user->{'age'};