private function exist(User $aUser)
    {
        $count = $this->execute(
            'SELECT COUNT(*) FROM user WHERE id = :id', [':id' => $aUser->id()->id()]
        )->fetchColumn();

        return (int) $count === 1;
    }
private function exist(User $aUser)
    {
        $count = $this->execute(
            'SELECT COUNT(*) FROM user WHERE id = :id', [':id' => $aUser->id()->id()]
        )->fetchColumn();

        return (int) $count === 1;
    }
private function exist ( User $ aUser ) { $ count = $ this -> execute ( 'SELECT COUNT(*) FROM user WHERE id = :id' , [ ':id' => $ aUser -> id ( ) -> id ( ) ] ) -> fetchColumn ( ) ; return ( int ) $ count === 1 ; }
Checks if the user given exists in the database.

@param User $aUser The user

@return bool
Checks if the user given exists in the database .