Change array_key_exists to isset

Isset is faster.