FStateTreeActiveStates::Contains

Returns true of the array contains specified state within MaxNumStatesToCheck states.