/Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h
Get whether the most relevant animation was in a particular notify state last tick.
bool WasAnimNotifyTriggeredInSourceState ( int32 MachineIndex, int32 StateIndex, [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UAnimNotify](API\Runtime\Engine\Animation\AnimNotifies\UAnimNotify) > AnimNotifyType )