public static function hasCookie(string $name, bool $ignoreCase = false): bool
    {
        return ArrayUtils::doesArrayHaveValueForKey($_COOKIE, $name, $ignoreCase);
    }
public static function hasCookie(string $name, bool $ignoreCase = false): bool
    {
        return ArrayUtils::doesArrayHaveValueForKey($_COOKIE, $name, $ignoreCase);
    }
public static function hasCookie ( string $ name , bool $ ignoreCase = false ) : bool { return ArrayUtils :: doesArrayHaveValueForKey ( $ _COOKIE , $ name , $ ignoreCase ) ; }
Check if a cookie with the given name exists.

@param string $name
The name of the cookie.

@param bool $ignoreCase
[optional]
Whether to treat lowercase and uppercase letters as equivalent during the search.

@return bool Whether the cookie with the given name exists.
Check if a cookie with the given name exists .