Custom Passive State

I am hoping someone can help me write a notetag to check if a user has learned a specific skill yet. I am trying to use this for Yanflys Passive States plugin, so I am using the notetag shown below, I just dont know what to replace the (......) with so it checks if the actor has a specific skill learned yet. Any help would be appreciated!
<Custom Passive Condition>

if (......) {

condition = true;

} else {

condition = false;

}

</Custom Passive Condition>


Edit: Nevermind, got it (this._actor.isLearnedSkill(X))

Original thread: https://forums.rpgmakerweb.com/threads/custom-passive-state.90479/