public boolean isTrusted(Sender sender, String hash) {
        if (sender.isConsole()) {
            return isTrustedConsole(hash);
        } else {
            User user = sender.getPlugin().getUserManager().getIfLoaded(sender.getUniqueId());
            return user != null && isTrusted(user, hash);
        }
    }
Checks if the given public key hash has been trusted by the sender.

@param sender the sender
@param hash   the public key hash
@return true if trusted
common/src/main/java/me/lucko/luckperms/common/webeditor/store/WebEditorKeystore.java