ManaPHP\Http\Cookies::has PHP Method

has() public method

Check if a cookie is defined in the bag or exists in the $_COOKIE
public has ( string $name ) : boolean
$name string
return boolean
    public function has($name)
    {
        if ($name[0] === '!') {
            $name = substr($name, 1);
        }
        return isset($_COOKIE[$name]);
    }