I agree with Vector (Hey Bud!)
To me It depends on both the person and the music.
Sometimes I listen to music sometimes I don't. Heck sometimes I have my headphones on for hours with no music on.

Having music with great loops will get you into an almost robotic form of working. In a book that I read by Joscelyn Godwin Harmonies of Heaven and Earth
It states and I agree that music synchronizes the mind, soul and body. It has also been studied that employees work more harmonious and quicker when given the privileged to listen to music in the work place.
Hope that helps!
C.S.