Checks if a magic property is exists

@param string $key
@return boolean
482370
protected function magicIsset($key)
    {
        if (!$this->magicInited) {
            $this->magicInit();
        }
        $exists = &$this->magicFields['exists'];
        if (!array_key_exists($key, $exists)) {
            if (array_key_exists($key, $this->magicFields['fields'])) {
                $exists[$key] = true;
            } elseif (isset($this->magicFields['loaders'][$key])) {
                $exists[$key] = true;
            } else {
                $exists[$key] = $this->magicExistsField($key);
            }
        }
        return $exists[$key];
    }
903794
public function exists($key)
    {
        return isset($this->options[$key]) || isset($this->Default->options[$key]);
    }
375673
public function has($key): bool
    {
        return $this->exists($key) && null !== $this->attributes[$key];
    }
1029588
protected function exists($key)
    {
        if ($this->enabled && opcache_is_script_cached($this->filePath($key))) {
            return true;
        }
        return file_exists($this->filePath($key));
    }
469164
public function has(string $key): bool
    {
        if (strpos($key, '.') != false) {
            return $this->getNested($key) != null;
        }

        return array_key_exists($key, $this->settings);
    }
759919
protected function exists($key)
    {
        if (!array_key_exists($key, $this->items)) {
            // key not in cache
            return false;
        }

        $expire = $this->items[$key][1];
        if ($expire !== 0 && $expire < time()) {
            // not permanent & already expired
            $this->size -= strlen($this->items[$key][0]);
            unset($this->items[$key]);

            return false;
        }

        $this->lru($key);

        return true;
    }
888325
function exists($key) {
		$key=$this->fixheader($key);
		return isset($this->headers[$key]);
	}
1037200
private function exists($key)
    {
        $data = Query::from($this->table)->where('name', '=', $key)->get();

        return  count($data) > 0;
    }
853401
public function has( $key ) {
		return isset( $this->fields[$key] ) || array_key_exists( $key, $this->fields );
	}
590713
public function hasProperty($key)
    {
        return
            (null !== $this->properties) &&
            (
                array_key_exists((string) $key, $this->properties) ||
                array_key_exists('tree_' . $key, $this->properties)
            );
    }
602663
protected function hasKey($key)
    {
        return ($this->mode == self::MODE_INDEXED && $key == '') || \array_key_exists($key, $this->params);
    }
287853
public function offsetExists($key)
    {
        if (is_integer($key) && $key + 1 <= $this->count()) {
            return true;
        }

        return $this->has($key);
    }
684459
public function exists($key) {
		return isset($this->_data[$key]) || isset($this->registered[$key]);
	}
923242
public function offsetExists($key)
    {
        return isset($this->container[$key]) || \array_key_exists($key, $this->container);
    }
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;
  }
1077463
public function has($key)
    {
        $flashMessages = $this->storage->get(self::FLASH_KEY);
        return isset($flashMessages[$key]);
    }
162179
public function has($key): bool
    {
        return isset($this->items[$key]) || array_key_exists($key, $this->items);
    }