public function equals($other) { return $other instanceof self ? $this->extract() === $other->extract() : false; }