since you only want to find if there is at least one, I'd use querySelector here.

Also, use `this` instead of ThreadUI