has -> haskey
Merge pull request #27 from blakejohnson/haskey-fixes

has -> haskey