/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h
Return whether Viewer is allowed to spectate from the point of view of ViewTarget.
bool CanSpectate ( [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * Viewer, [APlayerState](API\Runtime\Engine\GameFramework\APlayerState) * ViewTarget )