Has item data

@param string|array $name

@return bool
769155
public function hasItemData($name): bool
    {
        if (func_num_args() > 1)
            $name = func_get_args();

        return array_key_exists($this->getItemKey($name), $this->getData());
    }
901633
public function hasFact($name)
    {
        if ($this->hasFacts() && array_key_exists($name, $this->facts)) {
            return true;
        }
        return false;
    }
989277
public function has($itemName)
    {
        return array_key_exists($itemName, $this->store)
            && isset($this->store[$itemName]['lookupType']);
    }
585785
public function __isset($name) : bool
    {
        return in_array($name, $this->explorableIndex, true) && isset($this->{$name});
    }
1201636
public function hasItem($nameOrId)
    {
        foreach ($this->getItems() as $item) {
            if ($item['name'] === $nameOrId || (isset($item['id']) && $item['id'] === $nameOrId)) {
                return true;
            }
        }

        return false;
    }
608309
public function hasMetadata(string $name) : bool
    {
        return $this->metadata->any(function (ContentMetadata $metadata) use ($name) {
            return $metadata->name === $name;
        });
    }
505334
public function has($name)
    {
        Types::assert(['string' => [$name]]);

        return array_key_exists(strtolower($name), $this->headers);
    }
224092
public function hasAttribute($name)
    {
        if ($name === 'id') {
            return empty($this->storage[ 'id' ]) ? false : true;
        } elseif ($name === 'class') {
            return empty($this->storage[ 'class' ]) ? false : true;
        } else {
            return isset($this->storage[ $name ]);
        }
    }
948487
public function hasData($name = null)
    {
        if ($name !== null) {
            return is_array($this->data) && isset($this->data[$name]);
        }

        return !empty($this->data);
    }
1214561
public function has($name)
    {
        if (!is_array($name)) {
            return isset($this->_columns[$name]);
        }
        return array_intersect($name, array_keys($this->_columns)) === $name;
    }
362933
public function has($name)
    {
        return isset($this->payload[$name]) || isset($this->map[ltrim($name, '/')]);
    }
887937
public function hasRole($name)
    {
        if (is_string($name)) {
            return collect($this->roles)->contains($name);
        }

        return (bool) collect($this->roles)->intersect($name->lists('name'))->count();
    }
81908
public static function has($name)
    {
        if (!strpos($name, '.')) {
            return isset(self::$config[strtolower($name)]);
        }

        $name = explode('.', $name, 2);
        return isset(self::$config[strtolower($name[0])][$name[1]]);
    }
530019
public function has($name)
    {
        $names = is_array($name) ? $name : func_get_args();

        foreach ($names as $value) {
            if (! $this->routes->hasNamedRoute($value)) {
                return false;
            }
        }

        return true;
    }
1076959
public function has(string $name): bool
    {
        $name = $this->getDefinitiveName($name);

        return isset($this->instances[$name]);
    }
523233
public function has($name)
    {
        $found = false;
        $this->elements->rewind();

        /** @var ElementInterface $element*/
        foreach ($this->elements as $element) {
            if ($element->getName() == $name) {
                $found = true;
                break;
            }
        }
        return $found;
    }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }