/**
  * Check if master key provider is empty
  *
  * @param ps the password safe component
  * @return true if the provider is empty
  */
 private static boolean isMasterKeyEmpty(PasswordSafeImpl ps) {
   return ps.getMasterKeyProvider().isEmpty();
 }