It's a mix.
Yes, you imitate how others speak, but when you are trying to solve a problem, you don't try to predict how others would complete a text.
(Well, unless you follow 'what token would Jesus pick?' / 'what would Jesus do'.)