Removed last has_key use following #2 (24ca9d418a3208687debcf758e7b276a7c64e8cd).
Merge pull request #4 from jezdez/has_key-fix

Removed last has_key use following #2 (24ca9d418a3208687debcf758e7b276a7c64e8cd).