You don’t need the IsValid, because if it is not valid the cast will fail.
About the BPI:
Create a BlueprintInterface
Add it to the character or AI in the ClassSettings
Implement the event via double clicking it on the left side:
Connect your ParticleSystem:
Inside the BP_NotifyState change the function to this: