Check if the parameter has value

For example, 0, ' ', 0.0 are all have value

@param string $name
@return bool
354338
public function has($name)
    {
        return isset($this->data[$name]) && !in_array($this->data[$name], ['', null, false, array()], true);
    }
111828
public function hasField( $name )
	{
		$name	= strtolower( $name );
		if( isset( $this->fields[$name] ) )
			return (bool) count( $this->fields[$name] );
	}
695155
public function HasParam ($name = '') {
		if ($this->params === NULL) $this->initParams();
		return isset($this->params[$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);
    }
1050262
public function has($name)
    {
        if (\strpos($name, '.') === false) {
            return parent::has($name);
        }

        try {
            $this->getRecursive($name);
        } catch (\Throwable $exception) {
            return false;
        }

        return true;
    }
43240
public function hasParameter(string $name): bool {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return true;
			}
		}

		return false;
	}
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;
    }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }
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]]);
    }
293882
public function has(string $name): bool
    {
        try {
            $this->dotGet($name);
        } catch (DotNotFoundException $e) {
            return false;
        }

        return true;
    }
302146
public function has(string $name): bool
    {
        $parts = explode('[', $name);
        $lastKey = trim(array_pop($parts), ']');
        $current = &$this->parameters;
        foreach ($parts as $part) {
            $target = trim($part, ']');
            if (!is_array($current) || !array_key_exists($target, $current)) {
                return false;
            }

            $current = &$current[$target];
        }

        if (!array_key_exists($lastKey, $current)) {
            return false;
        }

        return true;
    }
24194
public static function exists( string $name ): bool
	{
		if( $name === "@core" )
		{
			return true;
		}

		try {
			$row = self::getModuleScheme($name, false, ["id"]);
		}
		catch(NotFoundException $e) {
			return false;
		}

		return $row->id > 0;
	}
714177
public function __isset(string $name): bool
    {
        try {
            $value = $this->__get($name);

            $result = ($value !== null);
        } catch (Exception $e) {
            $result = false;
        }

        return $result;
    }
669497
public static function getValueForName($name)
    {
        foreach (self::getConstants() as $constant) {
            if ($constant['name'] === $name) {
                return $constant['value'];
            }
        }
        return false;
    }
1018906
public function __isset($name)
    {
        $name = strtolower($name);

        if ($name != 'x' && $name != 'y' && $name != 'z') {
            return false;
        }

        return isset($this->$name);
    }
205828
public function hasValidator(string $name): bool
    {
        $rules = $this->getRules();

        return \method_exists($this, 'validate' . \ucfirst($name)) || isset($rules[$name]);
    }
825883
public function has($name)
    {
        foreach ($this->containers as $container) {
            if ($container->has($name)) {
                return true;
            }
        }

        return false;
    }