@param string $name

@return bool
517069
public function hasFile(string $name) : bool
    {
        return $this->fileContentAreas->any(function (FileContentArea $contentArea) use ($name) {
            return $contentArea->name === $name;
        });
    }
309093
public function has($name): bool
    {
        return isset($this->values[$name]) ||
            isset($this->factory[$name]) ||
            isset($this->alias[$name]) ||
            \array_key_exists($name, $this->values);
    }
863339
public function has($name):bool
    {
        return ((isset($this->session[$name]) && null != $this->session[$name])? true : false);
    }
620861
public function parameterExists($name)
    {
        if ($this->container->hasParameter($name)) {
            return $this->container->getParameter($name);
        } else {
            return false;
        }
    }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }
54801
public function has(string $name): bool
    {
        $content = $this->get('plugins/');
        if (isset($content['data'])) {
            foreach ($content['data'] as $data) {
                if ($data['name'] == $name) {
                    return true;
                }
            }
        }

        return false;
    }
42598
public function hasParameter($name)
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
127786
public function offsetExists($name)
    {
        if (is_int($name)) {
            return parent::offsetExists($name);
        }

        $name = strtoupper($name);

        foreach ($this->parameters as $parameter) {
            if ($parameter->name == $name) {
                return true;
            }
        }

        return false;
    }
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]]);
    }
721335
public static function has(string $name)
    {
        $names = Imi::parseDotRule($name);
        if (isset($names[0]))
        {
            $first = array_shift($names);
            if(isset(static::$configs[$first]))
            {
                return null !== static::$configs[$first]->get($names, null);
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
1274701
public function hasConstant($name) {
        $hasConstant = false;
        if(array_key_exists($name, $this->getConstants())) {
            $hasConstant = true;
        }

        return $hasConstant;
    }
145639
public function has(string $name) : bool
    {
        foreach ($this->tags as $tag) {
            if ($tag->name == $name) {
                return true;
            }
        }

        return false;
    }
901633
public function hasFact($name)
    {
        if ($this->hasFacts() && array_key_exists($name, $this->facts)) {
            return true;
        }
        return false;
    }
630166
public function __isset($name)
    {
        $getterMethod = 'get' . ucfirst($name);
    
        if (!method_exists($this, $getterMethod)) {
            return false;
        }
    
        return (($this->$getterMethod() !== null) ? $this->$getterMethod() : false);
    }
28815
public function exists(string $name): bool
    {
        if (isset($this->cache[$name])) {
            return true;
        }

        try {
            $this->findTemplate($name);
        } catch (\InvalidArgumentException $e) {
            return false;
        }

        return true;
    }
506677
final public function __isset($name)
    {
        $result = false;
        if($this->__manifest !== false) {
            $result = $this->__manifest->has($name);
        }

        return $result;
    }
505334
public function has($name)
    {
        Types::assert(['string' => [$name]]);

        return array_key_exists(strtolower($name), $this->headers);
    }