How can i add contains function in gateways?

In my process, I get data from list.

I want to check data contains desktop or not. For example my variable’s name is yasin. I want to add flow condition as
${yasin contains “desktop”}
If my variable contains desktop, I want my process to follow this flow.

But it is not working. How should I type this condition?