exists()
exists(string $key) : bool
Test if the specified key exists in stored data.
Parameters
string | $key |
A convenience class to share data between classes and functions without using global variables.
Data stored using this class does not survive after the request.