rename has() to haskey()