lithium\storage\Session::isStarted()

public static method

Indicates whether the the current request includes information on a previously started session.

Parameters

  • string $name

    Optional named session configuration.

Returns

boolean

Returns true if a the request includes a key from a previously created session.

Source

	public static function isStarted($name = null) {
		return is_object($adapter = static::adapter($name)) ? $adapter->isStarted() : false;
	}