/Engine/Source/Runtime/Core/Public/CoreGlobals.h
This class can be used to Tag an execution context but only in case it has not already been tagged It is usually used for the IsInRendering/GamethreadFunctions.
class FOptionalTaskTagScope : public [FTaskTagScope](API\Runtime\Core\FTaskTagScope)