@Override
    public boolean eval(String variable) {
        return variable.equals("permission") ||
                getCheckTarget().describe().equalsIgnoreCase(variable) ||
                getPermission().toLowerCase(Locale.ROOT).startsWith(variable.toLowerCase(Locale.ROOT)) ||
                getResult().result().name().equalsIgnoreCase(variable);
    }
The result of the permission check
common/src/main/java/me/lucko/luckperms/common/verbose/event/PermissionCheckEvent.java