Was Stokes in the wrong for fan spat?

After Ben Stokes appeared to swear at a spectator during day one of England's fourth Test against South Africa, Alec Stewart and Robert Croft debate whether he was in the wrong.