has() returns null on empty array

I was having an issue where my empty arrays where not being returned with `get()`. I tracked down the problem and found that `has()` was using `empty()`. Since an empty array returns true with `empty()`, Sparse replaced my value with `NULL`. 

Replaced `empty()` with `array_key_exists()`.