How to check if an actor is in the party.

I'm using a plugin for creating a hud, and I need to set the condition to be if a party member is in the group or not.
I'm looking for the syntax for say "Actor2" or "Actor3". This way the hud for that character only shows up if they are in the party. Thanks!
Spoiler
VCKkrGe.png
$gameParty.members().contains($gameActors.actor(id))
This worked perfectly, thank you Shaz

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-an-actor-is-in-the-party.87633/