@param $name

@return bool
779242
public function copyInfrastructure($name)
    {
        file_put_contents(
            $this->getInfrastructurePath("/Contracts/Eloquent{$name}RepositoryInterface.php"),
            $this->prepare(file_get_contents($this->infrastructureContract))
        );

        file_put_contents(
            $this->getInfrastructurePath("/Eloquent{$name}Repository.php"),
            $this->prepare(file_get_contents($this->infrastructureClass))
        );

        return true;
    }
336908
public function __isset($name) {
        return isset($this->$name) ||
            ($getter = Toolkit::toCamelCase("get $name")) && method_exists($this, $getter);
    }
585785
public function __isset($name) : bool
    {
        return in_array($name, $this->explorableIndex, true) && isset($this->{$name});
    }
869524
public static function hasTask($name)
    {
        if (!self::$tasks) {
            return false;
        }
        if (isset(self::$tasks[$name])) {
            return true;
        }

        return false;
    }
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;
        }
    }
384106
protected function hasParam($name) {
		if ($this->getDi()->get('dispatcher')->getParam($name, null, false)) {
			return true;
		}
		
		return false;
	}
309860
public function __isset($name)
    {
        if (isset($this->instances[$name])) {
            return true;
        } elseif (isset($this->autoloader)) {
            try {
                $this->$name;
                return true;
            } catch (InvalidModuleException $e) {
            }
        }
        return false;
    }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }
54163
public function hasTag($name)
    {
        foreach ($this->tags as $tag) {
            if (strtolower($tag->getName()) == $name) {
                return true;
            }
        }
        return false;
    }
312842
public function hasParameter($name)
    {
        if (array_key_exists($name, $this->parameters)) {
            if (null !== $this->parameters[$name]['value']) {
                return true;
            }
        }

        return false;
    }
346905
protected function flagExists(string $name): bool
    {
        $flags = $this->getFlags();

        return isset($flags[$name]);
    }
568854
public function hasMethod($name)
    {
        $methods = $this->getMethods();
        foreach ($methods as $method) {
            if ($method->getName() == $name) {
                return true;
            }
        }

        return false;
    }
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;
    }
598794
public function hasCache($name)
    {
        if (isset($this->_caches[$name])
            || $this->hasCacheTemplate($name)
        ) {
            return true;
        }
        return false;
    }
1180868
public function __isset($name)
    {
        try {
            $this->__get($name);
        } catch (InvalidArgumentException | ReflectionException $e) {
            return false;
        }

        return true;
    }
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;
    }
1054647
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }