Validate queues of type IEnumerable <QueueItem> without For Each - ACME Uipath

Hello everyone,

My exercise is to create queues of the pages of the ACME Uipath (example: Page 1 is queue 1, Page 2 is queue 2, etc.) and before inserting it into the orchestrator validate that the queue with the New state does not previously exist. What No I want to validate the existence of the queues through a For Each (because there may be 1000 pages and it would take a long time to validate). That is why I am trying to use the “Select” and “Constains” functions (image 1) however I have these problems.
Do I have to use yes for yes? Or can I use a function?
I leave the attached project.


REFramework_Dispacher_Queues.zip (569.5 KB)

Thanks.