IT depends on IF you take into account the writngs of the early Church fathers like Papias and Irenaeus.
According to Irenaeus:
“Matthew composed his gospel among the Hebrews in their own language, while Peter and Paul proclaimed the gospel in Rome and founded the community. After their departure, Mark, the disciple and interpreter of Peter, handed on his preaching to us in written form”
Eusebius wrting what Papias said:
“And the elder used to say this, Mark became Peter’s interpreter and wrote accurately all that he remembered, not, indeed, in order, of the things said and done by the Lord. For he had not heard the Lord, nor had followed him, but later on, followed Peter, who used to give teaching as necessity demanded but not making, as it were, an arrangement of the Lord’s oracles, so that Mark did nothing wrong in thus writing down single points as he remembered them. For to one thing he gave attention, to leave out nothing of what he had heard and to make no false statements in them.”