@creocoder Two issets should be as fast as a single array_key_exists(roughly).

http://we-love-php.blogspot.de/2012/07/array-key-lookup-isset-or.html

The only reason to change would be to allow NULL values as $name (which does not make much sense in this context, even if null is a valid array_key