MV Yanfly's passive aura effects (condition)

I want to make an aura that buffs certain party members. For this, the aura will check if the targets have certain state. The code for this is:

<Custom Aura Condition>
if (CONDITION) {
condition = true;
} else {
condition = false;
}
</Custom Aura Condition>

Does anybody know what do I have to write in "(CONDITION)" to check for the state? Thanks for reading!!!

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-passive-aura-effects-condition.150345/