I think you should be able to see if `data[user]` exists without iterating through all items.