public static Boolean getBoolParam(SessionRequestContent request, String name) {
        String param = (String) request.getParameter(name);
        if (param != null && !param.isEmpty()) {
            Boolean currParam = Boolean.parseBoolean(param);
            return currParam;
        }
        return null;
    }