Update Config.php to use `array_key_exists`