MZ How to check if a character is in the ACTIVE party? (Visu's Party System)

If I use the usual eventing "check if party member is in the party", it includes the reserve party.
I'd like a way to check if a party member is actually in the active party, regardless of whether they are in the reserve party.
JavaScript:
$gameActors.actor(1).isBattleMember()
1 = ID of your actor in the database
Thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-a-character-is-in-the-active-party-visus-party-system.182366/