If it was a case of either or, then possibly.

But North Korea is great for providing things for International Affairs to get all worked up about - and then request Chinese mediation, whilst China is then able to do what it wants, be it deals with African nations or building bases on Shri Lanka.