haskey and __delitem__ methods