It's quite possible the author was influenced by The Doctor.
There have been others in science fiction and fantasy, time travel stories date back to at least A Connecticut Yankee in King Arthur's Court (1889) and 20th century SF was filled with stories of time patrols, time police, alternate world travelers, but The Doctor is the most famous one on TV.