Can somebody explain me when an out of focus image is considered beautiful and when it is not?

I use shallow DoF when I want to make attention onto the subject, who is usually my wife or my child . I usually don't take too much attention about the out of focus image (background).

So when bokeh is beautiful?