static @NonNull PermissionResult of(final boolean result, final @NonNull Permission permission) {
        return PermissionResultImpl.of(result, permission);
    }
Creates a result that wraps the given boolean result.

@param result true if the command may be executed, false otherwise
@param permission the permission that this result came from
@return a PermissionResult of the boolean result
cloud-core/src/main/java/org/incendo/cloud/permission/PermissionResult.java