AppSession.php
protected function checkStarted(): bool
    {
        if (!$this->started) {
            $this->started = self::sessionStart();
        }
        if (isset($_SESSION[$this->namespace]) && !is_array($_SESSION[$this->namespace])) {
            $_SESSION[$this->namespace] = [];
        }
        return (bool) $this->started;
    }
protected function checkStarted(): bool
    {
        if (!$this->started) {
            $this->started = self::sessionStart();
        }
        if (isset($_SESSION[$this->namespace]) && !is_array($_SESSION[$this->namespace])) {
            $_SESSION[$this->namespace] = [];
        }
        return (bool) $this->started;
    }
protected function checkStarted ( ) : bool { if ( ! $ this -> started ) { $ this -> started = self :: sessionStart ( ) ; } if ( isset ( $ _SESSION [ $ this -> namespace ] ) && ! is_array ( $ _SESSION [ $ this -> namespace ] ) ) { $ _SESSION [ $ this -> namespace ] = [ ] ; } return ( bool ) $ this -> started ; }
Check if session started, if not start it
@return bool
Check if session started if not start it