MV restrict Known Skill unless certain State is active

There used to be a plugin known as BOB_EnhancedRestrictions.js. The link for it wasn't working sadly. Does anyone have this plugin and/or know if this is still working? or is there another way to possibly go about this now?

Mainly just wanted to have a Sneak Attack skill be available only if a *Hidden state was on the character.
Most people would use Yanfly's Skill Core for this. Give your skill the notetag:
Code:
<Custom Requirement>
value = user.isStateAffected(42);
</Custom Requirement>
where 42 is the ID of your Hidden state.
Ahh good call, thanks a bunch.

Original thread: https://forums.rpgmakerweb.com/threads/restrict-known-skill-unless-certain-state-is-active.173705/