src/Application/Service/ServiceContainer.php
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
public function hasParameter ( string $ name ) : bool { return isset ( $ this -> parameters [ $ name ] ) || array_key_exists ( $ name , $ this -> parameters ) ; }
Checks if a parameter exists

@param string $name The parameter name

@return bool
Checks if a parameter exists