Yanfly AI Core, Enemy Battler, "User State Check"

Hey I'm trying to set up an AI Eval

Where the enemy will check itself for a state and if they have that state they will use a certain skill.
I've gotten to a note tag of:

Eval user.isStateAffected(x) === Skill, Target

and maxed out the AI lvl,
but it doesn't seem to work.

Could someone help correct me?
Hi,
Here’s how you should write it:
Eval user.isStateAffected(x): Skill, Target 😛

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-ai-core-enemy-battler-user-state-check.116990/