Contao\Cache::__isset PHP Method

__isset() public method

Check whether a key is set
Deprecation: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use Cache::has() instead.
public __isset ( string $strKey ) : boolean
$strKey string The cache key
return boolean True if the key is set
    public function __isset($strKey)
    {
        return static::has($strKey);
    }