if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } return keyring.containsAlias(alias);
log.entering(this.getClass().getName(), "engineContainsAlias", alias);  ensureLoaded(); boolean inPrivateKR = privateKR.containsAlias(alias); log.finest("inPrivateKR=" + inPrivateKR); boolean inPublicKR = publicKR.containsAlias(alias); log.finest("inPublicKR=" + inPublicKR); boolean result = inPrivateKR || inPublicKR;  log.exiting(this.getClass().getName(), "engineContainsAlias", Boolean.valueOf(result)); return result;
  public boolean engineContainsAlias(String alias)  {    if (!loaded)      {        throw new IllegalStateException ("not loaded");      }    if (keyring == null)      {        return false;      }    return keyring.containsAlias(alias);  }