UPrimitiveComponent::GetLevelInstanceEditingState

Returns true if the owning actor is part of a level instance which is being edited.