Is the outpouring of grief we see on social media after a terrorist attack or the death of a prominent figure a sincere expression of emotion, or more to do with self-promotion?