Identifying if X is in the Battle party

As far as I can see, the command in the Conditional Branch for identifying if a particular actor is in the party, refers to the whole party.

However, I want to be able to identify if the particular actor is in the active/battle party for something in a troop event.  Is this possible?

Thank you.
$game_actors[x].battle_member?
Thank you.  That is one speedy reply!

Much appreciated.
In the troops event, the "actor is in the party" condition refers to the battle members. Outside the battle, it will refer to the whole party.

Original thread: https://forums.rpgmakerweb.com/threads/identifying-if-x-is-in-the-battle-party.40875/