src/Configurator.php
public function hasOption(string $name): bool
    {
        $this->validateName($name);

        return array_key_exists($name, $this->config);
    }
public function hasOption(string $name): bool
    {
        $this->validateName($name);

        return array_key_exists($name, $this->config);
    }
public function hasOption ( string $ name ) : bool { $ this -> validateName ( $ name ) ; return array_key_exists ( $ name , $ this -> config ) ; }
Check if the option exist.

@param string $name The option name to check.

@return bool
Check if the option exist .