code: public boolean isKeyEntry(String alias) throws KeyStoreException, KeyException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "isKeyEntry: " + alias);
          boolean isKey = false;
          try {
              KeyStore jKeyStore = getKeyStore(false, false);
              if (jKeyStore == null) {
                  throw new KeyStoreException("The keystore [" + name + "] is not present in the configuration");
              }
              isKey = jKeyStore.isKeyEntry(alias);
          } catch (KeyStoreException e) {
              throw e;
          } catch (Exception ex) {
              throw new KeyException(ex.getMessage(), ex);
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "isKeyEntry: " + isKey);
          return isKey;
      }
docs: /*
  return true if the entry is a key and false if not