If Morata stays, he leaves in 6 months.
But if Morata leaves and know CF is signed, yep, he stays.
But IMO his ceilling is pretty clear, it's where it is now. An extremely useful backup, perhaps a rotation player, but just not good enough to be a starter.