Check if Actor is in party

So I'm trying to make certain elements only appear on-screen if the actor is in the party.
I'm doing this using the HUD maker and I was wondering what the condition would be to have the check if the actor is in the current party.

Simply doing
$gameParty.members()[3],
$gameActors.actor(3).inParty
or any combination of such didn't work.

Thanks in advance,
Damian
$gameParty.members().indexOf($gameActors.actor(ID)) > -1

IndexOf returns the index of the given argument, so we can check if that return value is greater than -1. If yes the actor is in the party.
You are a life saver, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/check-if-actor-is-in-party.79436/