Detect running app

Hello.
I’d like to detect apps whose are runing in background in order to start one if it is not running.
i didn’t find any blocks to do it…is there an extension to help me ?

nota: That app i want to control has a notification, so maybe could i detect if tis app notif is present, but i don’t know how to do this neither…