Thanks for the reply!
If I do that the print says it is true. But when I check the array element from my hintwidget the variable is still set to false.
I added a debug print loop so I could see what the values where over time, it never shows the element variable change.