isset is faster than array_key_exists.