Script condition companion app

Hi, is there a way to use companion app user as condition? I intend to create a script from where certain actions are run. I would like this to start with a condition that rule out all exept from one person’s app.
Is this possible?