default @NonNull Tristate checkPermission(@NonNull String permission) {
        return queryPermission(permission).result();
    }
Performs a permission check for the given {@code permission} node.

<p>This check is equivalent to the "hasPermission" method call on most platforms.
You can use {@link Tristate#asBoolean()} if you need a truthy result.</p>

@param permission the permission node
@return a tristate result
@throws NullPointerException if permission is null
api/src/main/java/net/luckperms/api/cacheddata/CachedPermissionData.java