Solar_Session::has()
public
bool
Solar_Session::has
( string $key
)
Whether or not the session currently has a particular data key stored.
Parameters
(string)
$key
: The data key.
Returns
(bool) True if the session has this data key in it, false if not.
Description
Whether or not the session currently has a particular data key stored.
Does not return or remove the value of the key.