How can I check if a skill is Xtype??

Hi all, Im using Yanfly plug ins and I know I can check if an attack is Certain, Physic or Magic with:

this.isPhysical()
this.isMagical()
this.isCertain()

Is there a way I can check if a skill is certain Skill type?


Thanks...
Never mind, it was:
Code:
this.item().stypeId

Close please =)

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-check-if-a-skill-is-xtype.97039/