判断是否符合自定义属性
@param  string  $key
@return [type]  bool
336307
private static function isCustomer_header($key)
    {
        if ($key == 'Cache-Control' 
		|| $key == 'Content-Type' 
		|| $key == 'Content-Disposition' 
		|| $key == 'Content-Language'
		|| substr($key,0,strlen('x-cos-meta-')) == 'x-cos-meta-')
	    {
            return true;
	    }
	    return false;
    }
1340530
public function has($key)
	{
		if (count(func_get_args()) > 1)
		{
			foreach (func_get_args() as $value)
			{
				if ( ! $this->has($value)) return false;
			}

			return true;
		}

		if (is_bool($this->input($key)) || is_array($this->input($key)))
		{
			return true;
		}

		return trim((string) $this->input($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;
    }
346821
public static function has(string $key) : bool
  {
    $expect = explode('.', $key);
    $config = Config::all();

    foreach($expect as $setting) {
      if (!isset($config[$setting])) return false;
      $config = $config[$setting];
    }

    return true;
  }
6039
public function has($key)
    {
        $result = $this->load($key);
        return Arr::has(static::$configs[$result[0]], $result[1]);
    }
469164
public function has(string $key): bool
    {
        if (strpos($key, '.') != false) {
            return $this->getNested($key) != null;
        }

        return array_key_exists($key, $this->settings);
    }
864295
public function delete($key): bool
    {
        if ($this->has($key)) {
            $this->unset($key);
            return true;
        }

        return false;
    }
619117
public function exist($key) : bool
    {
        return $this->get($key, false) !== false
               && $this->get($key, true) !== true;
    }
700594
public function get($key) {
        $used_key = $this->getUsedKey($key);
        $res = $this->redis->get($used_key);
        if ($res === null)
            return false;
        $res = $this->unesc($res);
        if (is_array($key)) {
            return array_combine($key, $res);
        }
        else {
            return $res;
        }
    }
479645
public function pull($key)
    {
        if ($this->has($key)) {
            $pulled = $this->get($key);
            $this->remove($key);
            return $pulled;
        }
        return false;
    }
861371
public function has($key)
    {
        $keyExp = explode('.', $key);

        if ($this->cache->has($key))
        {
            return true;
        }

        $row = $this->database
            ->table($this->config['db_table'])
            ->where('setting_key', $keyExp[0])
            ->first(['setting_value']);

        if ( ! is_null($row))
        {
            $setting_value = json_decode($row->setting_value, true);

            array_shift($keyExp);

            return multi_key_exists($keyExp, $setting_value);
        }

        return false;
    }
1282788
public function delete(string $key)
    {
        //初始化会话
        yield $this->start();

        $data = yield $this->sessionHandler->read($this->sessionId);
        if (!$data) {
            return true;
        }

        $data = json_decode($data, true);
        if (!isset($data[$key])) {
            return true;
        }

        unset($data[$key]);
        return yield $this->sessionHandler->write($this->sessionId, json_encode($data));
    }
52022
public function has($key)
    {
        $parts     = $this->getPath($key);
        $keyExists = true;
        $node      = $this->getFromCache();

        foreach($parts as $part) {
            $part = trim($part);

            if (!is_array($node) || !array_key_exists($part, $node)) {
                $keyExists = false;
                break;
            }

            $node = &$node[$part];
        }

        return ($keyExists);
    }
400689
public function has(string $key): bool
    {
        return array_key_exists(strtolower($key), $this->keyMap) &&
            array_key_exists($this->keyMap[strtolower($key)], $this->collection);
    }
1300431
public function has($key)
    {
        return (bool) $this->redis->exists($this->redis->prefix($key));
    }
1207867
public function has(string $key): bool
    {
        $this->assertRead();

        return \array_key_exists($key, $this->data);
    }
668969
final public function __isset($key)
	{
		return	array_key_exists($key, $this->_stack) && isset($this->_stack[$key]);
	}