public function handle(Request $request, $redirect = null)
    {
        if (\is_user_logged_in() === true) {
            return true;
        }

        if ($redirect === 'login') {
            Response::redirect_to_login();
        }

        if ($redirect === 'admin') {
            Response::redirect_to_admin();
        }

        if ($redirect !== null) {
            Response::redirect($redirect);
        }

        Response::set_404();

        return false;
    }