/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h
Whether Navigation System is allowed to rebuild the navmesh Depends on runtime generation settings of each navigation data, always true in the editor
bool IsAllowedToRebuild() const