public function hasWallet() { return !$this->isNewRecord && Wallet::find()->where(['user_id' => $this->id])->exists(); }