Fixing #20276. MergeDict should have __nonzero__ / __bool__ properly implemented.