/Engine/Source/Runtime/AIModule/Classes/Perception/PawnSensingComponent.h
Test whether the noise is loud enough and recent enough to care about. bSourceWithinNoiseEmitter is true iff the noise was made by the pawn itself or within close proximity (its collision volume). Otherwise the noise was made at significant distance from the pawn.
bool IsNoiseRelevant ( const [APawn](API\Runtime\Engine\GameFramework\APawn) & Pawn, const [UPawnNoiseEmitterComponent](API\Runtime\Engine\Components\UPawnNoiseEmitterComponent) & NoiseEmitterComponent, bool bSourceWithinNoiseEmitter ) const