public function has($name)
    {
        if (isset($name) && !empty($name)) {
            if (isset($_COOKIE[$name])) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
public function has($name)
    {
        if (isset($name) && !empty($name)) {
            if (isset($_COOKIE[$name])) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
public function has ( $ name ) { if ( isset ( $ name ) && ! empty ( $ name ) ) { if ( isset ( $ _COOKIE [ $ name ] ) ) { return true ; } else { return false ; } } else { return false ; } }
Determine if cookie set or not.

@param (string) $name of cookie

@since 1.0.0

@return bool
Determine if cookie set or not .