class AccountInfoRetriever {

    @AccountStatus
    int getStatus(@NonNull String accountId) throws OperationFailedException {
        try {
            getBalance(accountId);
            return AccountStatus.CREATED;
        } catch (AccountNotFoundException e) {
            return AccountStatus.NOT_CREATED;
        }
    }

      AccountInfoRetriever(Server server);

}