src/controllers/DefaultController.php
protected function hasAccess()
    {
        return $this->module->password == Yii::$app->session->get(self::STYLEGUIDE_SESSION_PWNAME, false);
    }
protected function hasAccess()
    {
        return $this->module->password == Yii::$app->session->get(self::STYLEGUIDE_SESSION_PWNAME, false);
    }
protected function hasAccess ( ) { return $ this -> module -> password == Yii :: $ app -> session -> get ( self :: STYLEGUIDE_SESSION_PWNAME , false ) ; }
Whether current session contains password or not.

@return boolean
Whether current session contains password or not .