hasAccount method

bool hasAccount(
  1. String pubkey
)

do we have the account for this pubkey?

Implementation

bool hasAccount(String pubkey) {
  return accounts.containsKey(pubkey);
}