/Engine/Plugins/Experimental/RenderGrid/Source/RenderGrid/Public/RenderGrid/RenderGrid.h
Returns true when it's currently executing a blueprint implementable event, returns false otherwise.
bool IsCurrentlyExecutingUserCode() const