How to check a dynamic component text already exists in tinydb?

Hi,

Here is what I am doing with your suggested blocks and I am getting the error - The operation is in list? cannot accept the arguments.


I am adding a tag as an incremental number that’s why I used a loop to check all tags.

Please check.
Thanks