/Engine/Source/Runtime/Engine/Classes/Animation/AnimStateMachineTypes.h
Finds a state by name or INDEX_NONE if no such state exists.
int32 FindStateIndex ( const [FName](API\Runtime\Core\UObject\FName) & StateName ) const