Perl/Basics/Boolean Logic/Helper Natives
These helper natives are boolean statements that assist with the determination of the existence of or the defining of a variable.
The exists native applies specifically to hashes and hash references.
The defined native determines if a scalar value is defined:
The undef native determines if a scalar value is un-defined: