How to check if Actor is in battle?

Couldn't find anything so decided to ask myself. Is there a script check to see if a specific Actor is in the active party during battle? Thank you in advance!
This thread was moved from RGSS3 Scripts (RMVX Ace) to RGSS3 Script Requests.
Hmmm, I googled this (replace actor_id with a number):
$game_party.battle_members.include?($game_actors[actor_id])
This thread was moved from RGSS3 Scripts (RMVX Ace) to RGSS3 Script Requests.
I don't believe this is a script request. Just a scall call request.
Couldn't find anything so decided to ask myself. Is there a script check to see if a specific Actor is in the active party during battle? Thank you in advance!
This has been answered before as other people asked it, but just worded differently.

use the code here for the example of what you need to use.
Ah, it was originally in the script release section so my brain did a thing, I guess. My B.
Thanks for the answers, this is exactly what I was looking for!
Also sorry for posting the question on the wrong section, my bad.

The thread can be closed now 🙂
This thread is closed due to being indicated as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-actor-is-in-battle.174423/