Check whether the relation has any unsaved changes.
@internal static bool hasPendingDbChanges(ToMany toMany) => toMany._hasPendingDbChanges;