public function checkAuth() {
        if (isset($_SESSION[$this->_sessionVarName]) &&
            $_SESSION[$this->_sessionVarName] == 1
        ) {
            return true;
        } else {
            return false;
        }
    }