Determine if the request contains a given input item key.

@param  string|array  $key
@return bool
165895
public function has($key)
    {
        $keys = is_array($key) ? $key : func_get_args();

        $input = $this->all();

        foreach ($keys as $value) {
            if (! Arr::has($input, $value)) {
                return false;
            }
        }

        return true;
    }
1356659
function has($key) {
        if(\is_array($key) || \is_object($key)) {
            throw new \InvalidArgumentException('Key can not be an array or object');
        }
        
        $key = (string) $key;
        return parent::has($key);
    }
439755
public function has(string $key): bool
    {
        $key = $this->getKey($key, true);
        return isset($this->headers[$key]);
    }
1014542
public function has($key)
    {
        if ($key == 'message') {
            return !empty($this->message);
        }

        if ($key == 'exception') {
            return !is_null($this->exception);
        }

        return array_key_exists($key, $this->payload);
    }
366058
public static function has(array $array, string $key): bool
    {
        $check = self::dataByPath($array, $key, false, 'not.found');
        return $check !== 'not.found';
    }
433328
public function has(string $key): bool
    {
        $key = $this->prepareKey($key);
        return Arr::has($this->properties, $key);
    }
521394
public function contains($key)
    {
        return isset($this->_data[$key]) || array_key_exists($key, $this->_data);
    }
148906
public function has($key)
    {
        $result = array_key_exists($key, $this->data);
        if (!$result && $this->isDotNotation($key)) {
            $result = true;
            $keys = explode('.', $key);
            $data = $this->data;

            foreach ($keys as $key) {
                if (!is_array($data) || !array_key_exists($key, $data)) {
                    $result = false;
                    break;
                }

                $data = $data[$key];
            }
        }

        return $result;
    }
469164
public function has(string $key): bool
    {
        if (strpos($key, '.') != false) {
            return $this->getNested($key) != null;
        }

        return array_key_exists($key, $this->settings);
    }
271070
public function containsKey($key)
    {
        if (!$this->enabled)
            return false;

        $contains = ($this->get($key) !== false);

//        $this->Logger->debug("Cache contains {$key}? " . (($contains == true) ? 'TRUE' : 'FALSE'));

        return $contains;
    }
1075553
public function has($key): bool
    {
        $this->checkKey($key);
        return (bool) $this->getRedis()->keys($this->filterKey($key));
    }
852379
public function has(string $key): bool
    {
        $slug = $this->splitKey($key);

        if (is_string($slug)) {
            return isset($this[$slug]);
        }

        $collection = $this->all();

        foreach ($this->splitKey($key) as $search) {
            if (!isset($collection[$search])) {
                return false;
            }

            $collection = $collection[$search];
        }

        return true;
    }
640656
public function has(string $key): bool
    {
        return !empty(Helper::arrayGet($this->data, $key));
    }
233023
public function has( $key = null )
	{
		$keys = is_array( $key ) ? $key : func_get_args();

		foreach ( $keys as $key )
		{
			if ( $this->first( $key ) === '' )
			{
				return false;
			}
		}

		return true;
	}
1293869
public function has($key)
    {
        if (null === $key) {
            throw new Exception\InvalidArgumentException('The specified key name is null');
        }

        if (!is_scalar($key)) {
            throw new Exception\InvalidArgumentException('The specified key name must be a scalar');
        }

        return array_key_exists($key, $this->collections);
    }
400689
public function has(string $key): bool
    {
        return array_key_exists(strtolower($key), $this->keyMap) &&
            array_key_exists($this->keyMap[strtolower($key)], $this->collection);
    }
1339046
public function hasQuery($key)
    {
        $arrayKeys = array_keys($_GET);
        $keys = is_array($key) ? $key : func_get_args();

        foreach ($keys as $value) {
            if (!in_array($value, $arrayKeys) || trim((string)$_GET[$value]) === '') {
                return false;
            }
        }

        return true;
    }