private boolean isTrusted(User user, String hash) {
        String key = user.getCachedData().getMetaData(QueryOptionsImpl.DEFAULT_CONTEXTUAL)
                .getMetaValue(META_KEY, CheckOrigin.INTERNAL).result();

        if (key == null || key.isEmpty()) {
            return false;
        }

        return hash.equals(key);
    }
Trusts the given public key hash for the sender.

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