Checks whether query has a parameter or its empty

@param string $key, [...]
@return boolean
10624
public function hasQuery()
    {
        if (func_num_args() == 0) {
            return !empty($this->query);
        }

        foreach (func_get_args() as $key) {
            if (!$this->hasParam($this->query, $key)) {
                return false;
            }
        }

        return true;
    }
838674
public function getQueryParam($key)
    {
        if (isset($this->queryParams[$key])) {
            return $this->queryParams[$key];
        }
        return null;
    }
1187293
final public function hasConfig($key = null)
    {
        $config = $this->getConfig();

        if (is_null($key)) {
            return !empty($config);
        } else {
            return array_key_exists($key, $config);
        }
    }
863025
public function has($key): bool
    {
        $key = $this->getKeyword($key)->getSlug();

        return ! empty($key) && \in_array($key, $this->items);
    }
467384
public function has($key)
    {
        $value = $this->get($key);

        return ! is_null($value) && $value !== false;
    }
1106990
public function has($key)
    {
        /*
         * Version >= 4.0 of phpredis returns an integer instead of bool
         */
        $check = $this->redis->exists($this->decorateKey($key));

        if (is_bool($check)) {
            return $check;
        }

        return $check > 0;
    }
1345298
protected function getParameter($key)
    {
        if (isset($this->parameters[$key])) {
            return $this->parameters[$key];
        }
        return false;
    }
1105983
public function has(string $key) : bool
    {
        return isset($this->collection[$this->useKey($key)]);
    }
139665
public function has($key)
    {
        return $this->params->has($key) || $this->payload->has($key);
    }
602663
protected function hasKey($key)
    {
        return ($this->mode == self::MODE_INDEXED && $key == '') || \array_key_exists($key, $this->params);
    }
301211
function has($key)
    {
        return (array_key_exists($key, $this->properties)) && $this->properties[$key] !== null;
    }
288391
public function has(string $key){
        $data   = $this->status() === self::ACTIVE
            ? $_SESSION : $this->finishedData;
        
        return array_key_exists($key, $data);
    }
373213
public function getParamter($key)
    {
        return isset($this->params[$key]) ? $this->params[$key] : null;
    }
53796
public function isEmpty($key = null)
    {
        if ($key === null) {
            return empty($this->data);
        }
        return empty($this->data[$key]);
    }
3437
protected function getParams($key = null)
    {
        $params = $this->session->get(uri());
        return !is_null($key) ? array_get($params, $key) : $params;
    }
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;
    }
1259685
public function has($key): bool
    {
        return ArrayUtility::dotRead($this->data, $this->getNormalizedKey($key)) !== null;
    }