It is true that squids, octopuses and cuttlefishes have 3 hearts.
Further text from webpage https://study.com/academy/lesson/cephalopod-circulatory-system.html
Experiments
Cardiac output in the large cephalopod octopus dofleini, K. Johansen
General insights
Building the vertebrate heart – an evolutionary approach to cardiac development