Scope that can't target people with a specific state

Hi there, I was wondering if it's possible to make a skill where the scope is unable to target people with a specific state.
My idea is a skill that can inflict a "Boosted" state which boosts an actor's stats. However, once the actor already has the Boosted state, the skill can no longer target that actor until it wears off.
This is mostly to prevent the player from accidentally wasting their turn, should they not pay attention that the actor already has the Boosted state and the player ends up using the skill on that same actor.

Thank you in advance!
Did you try Hime's untargetable state script?

Original thread: https://forums.rpgmakerweb.com/threads/scope-that-cant-target-people-with-a-specific-state.172709/