You don't need this. You can simply iterate through keys.