/Engine/Plugins/Experimental/RenderGrid/Source/RenderGridEditor/Public/IRenderGridEditor.h
Returns whether it is should currently hide the UI for things to not cause any bugs (like during rendering etc).
virtual bool ShouldHideUI() const