Octopuses can solve complex puzzles and show a preference for different individuals, but whether they, and other animals and invertebrates, have emotions is being hotly …