public boolean engineContainsAlias(String alias){
  permissionCheck();
  return entries.containsKey(alias.toLowerCase());
}

public boolean engineContainsAlias ( String alias ) { permissionCheck ( ) ; return entries . containsKey ( alias . toLowerCase ( ) ) ; }
checks if the given alias exists in this keystore .
