It's a nice utility method to have when you need it.  I didn't export it because it is in mux.go... If there was a pre-existing "utils" type of namespace I would have put it there and exported it.