public function isWinner(User $user)
    {
        if (!$this->auction || !$this->isEnded()) {
            return false;
        }

        return (bool) ($this->winningBid && $this->winningBid->bidder == $user);
    }