The point is not whether they can sense aversive stimuli. That is something common to just about every creature with anything resembling a nervous system. The point of this article is that they can remember it and it alters their future behavior, which is how most psychologists define pain.
Digital circuits are made from analog parts. -- Don Vonada