MZ VS Skllscore Skill Restiction Help

I can't find anything in notetags about the skill restriction im looking for. I was wondering if there was a way to use the js code in the notes to seal a skill if:
A. a certain actor wasnt in your part
and
B. if that actor was in the party but didn't have a certain skill
A. a certain actor wasnt in your part
Code:
!$gameParty.members().includes($gameActors.actor(X))

B. if that actor was in the party but didn't have a certain skill
Code:
!$gameActors.actor(X).isLearnedSkill(Y)
Thanks for this!

Original thread: https://forums.rpgmakerweb.com/threads/vs-skllscore-skill-restiction-help.153152/