Returns true if bag has cookie with set name

@param string $offset

@return bool
421137
public function has($offset = null)
    {
        if ($offset === null) {
            return $this->count() > 0;
        }

        return array_key_exists($offset, $this->storage);
    }
1164401
public function offsetExists($offset)
    {
        if (strpos($offset, ':') !== false) {
            list($ns, $attr) = explode(':', $offset, 2);
            return $this->_element->hasAttributeNS(Zend_Feed::lookupNamespace($ns), $attr);
        } else {
            return $this->_element->hasAttribute($offset);
        }
    }
462507
public function offsetExists($offset)
    {
        if ($offset == $this->querySeparator) {
            return true;
        }

        if (isset($this->array[$offset])) {
            return true;
        }

        $nested = $this->nested();

        return isset($nested[$offset]);
    }
1003507
public static function contains(string $haystack, string $needle, int $offset = 0): bool
    {
        return self::strpos($haystack, $needle, $offset) !== false;
    }
501055
public function offsetGet($offset)
    {
        if (isset($this->rows[ $offset ])) {
            return $this->rows[ $offset ];
        }

        return false;
    }
850093
public function offsetExists($index)
    {
        if (!$exists = parent::offsetExists($index)) {
            if (isset($this->{$index})) {
                return true;
            }
        }
        return $exists;
    }
576753
public function offsetExists($offset)
    {

        list($url, $key) = $this->fileUrlAndKey($offset);

        if ($key) {
            return $this->getOrCreateStorage($url)->offsetExists($key);
        }

        if (isset($this->purgeQueue["$url"])) {
            return false;
        }

        if ($storage = $this->getStorageIfLoaded($url)) {
            return true;
        }

        return $this->filesystem->exists($url);

    }
1191914
public function containsAll($contains, int $offset = 0): bool
    {
        if (empty($contains)) {
            return false;
        }

        $parameters = $this->parameters($contains);


        if ($offset > $this->length()) {
            return false;
        }

        foreach ($parameters as $needle) {
            if (strpos($this->string, $needle->value(), $offset) === false) {
                return false;
            }
        }

        return true;
    }
1029687
public function check($name) {
        // is in cache?
        if(isset($this->cache[$name]))
            return true;

        return $this->cookies->has($name);
    }
623480
public function offsetExists($offset)
    {
        try {
            $this->getOrFail($offset);
            return true;
        } catch (KeyNotFoundException $e) {
            return false;
        } catch (\OutOfBoundsException $e) {
            return false;
        }
    }
207625
public function offsetExists($offset)
    {
        $lineFound = false;

        $index = $this->findLine($offset);

        if ($index >= 0) {
            $lineFound = true;
        }

        return $lineFound;
    }
832107
public function exists($name, $offset = 0)
    {
        $s = $this->getNormalizedHeaderName($name);
        return isset($this->headerMap[$s][$offset]);
    }
505981
public function offsetExists($offset)
    {
        if(false === $result = parent::offsetExists($offset)) {
            $result = apc_exists($this->getNamespace().'-object_'.$offset);
        }

        return $result;
    }
1021742
public function offsetGet ($offset)
    {
        return isset($this->datumData[$offset]) ? $this->datumData[$offset] : false;
    }
1159370
public function offsetExists($offset)
    {
		foreach ($this as $key => $value)
		{
			if ($key == $offset)
			{
				return true;
			}
		}
		return false;
    }
947319
public function has($cookie) {

        if ( empty($cookie) ) throw new CookieException("Invalid cookie object or name");

        $name = ($cookie instanceof CookieInterface) ? $cookie->getName() : $cookie;

        return array_key_exists($name, $this->cookies);

    }
1257500
public function offsetExists($offset)
    {
        $response = $this->getResponseData();

        if(isset($this->index)){
            $response = $response['items'][$this->index];
        }

        $request  = $this->getRequestData();
        $dirty    = $this->getRequestData(false);
        return isset($response[$offset]) || isset($request[$offset]) || isset($dirty[$offset]);
    }