ManaPHP\Http\Cookies::has PHP Метод

has() публичный Метод

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