replace invalid haskey? method by has_key?
Merge pull request #1 from gloppasglop/master

Invalid haskey? method