4.11.1 Problem
4.11.2 Solution
if (isset($array['key'])) { /* there is a value for 'key' in $array */ }
4.11.3 Discussion
You can check the definedness of an array element just as you'd
for any other variable. See the Introduction to Chapter 5 for more
information about the truth value of variables.