Check if has data on object
@param string $key
@return boolean
336819
public function hasData($key = ''){

        $key = $this->normalizeKeyName($key);

        if( empty($key) || !is_string($key) ){
            return !empty($this->_data);
        }

        return array_key_exists($key, $this->_data);
    }
602663
protected function hasKey($key)
    {
        return ($this->mode == self::MODE_INDEXED && $key == '') || \array_key_exists($key, $this->params);
    }
457037
public function has(string $key): bool
    {
        return isset($this->flash[$key])
            || isset($this->data[$key])
            || isset($this->data[self::FLASH][$key]);
    }
763988
function has($key)
    {
        $key = $this->_normalizeKey($key);
        return array_key_exists($key, $this->_referDataArrayReference());
    }
127667
public function has($key) {
        $key = $this->formatKey($key);
        return array_has($this->headers, $key);
    }
1222616
public function containsKey($key): bool
    {
        return isset($this->items[$key]) || array_key_exists($key, $this->items);
    }
1300431
public function has($key)
    {
        return (bool) $this->redis->exists($this->redis->prefix($key));
    }
597948
public static function has(string $key) : bool
  {
    if ((new Cache)->retrieve($key) == null) 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);
    }
713802
public function hasParam($key)
    {
        return $this->hasData(self::P_PARAMS) && array_key_exists($key, (array) $this->data[self::P_PARAMS]);
    }
350421
public function has($key): bool
    {
        return $this->post->has($key) ?: $this->query->has($key) ?: false;
    }
1075553
public function has($key): bool
    {
        $this->checkKey($key);
        return (bool) $this->getRedis()->keys($this->filterKey($key));
    }
503409
public function hasObject(string $key)
    {
        if (isset($this->definitions['instance'][$key])) {
            return true;
        }

        if (isset($this->aliases[$key])) {
            return isset($this->definitions['instance'][$this->aliases[$key]]);
        }

        return false;
    }
690301
public function has($key)
	{
		if ( ! isset($this->jar[$key]) or $this->jar[$key]->isDeleted())
		{
			if ( ! $this->parentEnabled or ! $this->parent->has($key))
			{
				return false;
			}
		}

		return true;
	}
673091
public function has($key)
	{
		$key = $this->id($key);

		if (eaccelerator_get($key) !== null)
		{
			return false;
		}

		return true;
	}
891511
public function isEmpty($key = null) {
		$result = true;
		if ($key !== null) {
			if (is_object($this->data) && isset($this->data->{$key})) {
				$result = empty($this->data->{$key});
			} elseif (is_array($this->data) && isset($this->data[$key])) {
				$result = empty($this->data[$key]);
			} else {
				$result = true;
			}
		} else {
			$result = empty($this->data);
		}
		return $result;
	}
1041803
public function has($key)
    {
        $keys = (func_num_args() > 1) ? func_get_args() : (array) $key;

        foreach ($keys as $key) {
            if(!array_key_exists($key, $this->_data))
                return false;
        }

        return true;
    }