Wuhan shows they are important. Italy remains to be seen. Though given the reports I've read suggesting thousands of Italians returned south ahead of the travel ban, their efforts may indeed prove futile.
edit: To be clear, as well as restricting travel out of an area, we're also talking about reducing movement _within_ that area. So it ties into Social Distancing really.