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

[ticket](https://code.djangoproject.com/ticket/20276)