Activity for checking if any application is opened

I have a Team Viewer Session to a remote PC. I want to create a Process that checks if a Particular Application is opened in that remote PC, if Open it should close. How do it do this? the PC is a Remote PC and can only be accessed by Team viewer. Please help

Please use Element Exists activity. This will return True if Team viewer window exists. If not… it will return false.