bool array_key_exists ( mixed $key , array $search )
array_key_exists() returns TRUE if the given key is set in the array. key can be any value possible for an array index.
Returns TRUE on success or FALSE on failure.