Python verifique se 3 valores são iguais

cat, dog, rabbit = 1, 1, 1
print (cat == dog == rabbit)
>>> True
cat, dog, donkey = 1, 1, 2
print (cat == dog == donkey)
>>> False
Dentedghost