protected function optionSet(string $option) : bool
    {
        return isset($this->allOptions[$option]) && $this->allOptions[$option] === true
            || (isset($this->allOptions['all']) && $this->allOptions['all'] === true && $option !== 'overwrite' && $option !== 'prompt');
    }
protected function optionSet(string $option) : bool
    {
        return isset($this->allOptions[$option]) && $this->allOptions[$option] === true
            || (isset($this->allOptions['all']) && $this->allOptions['all'] === true && $option !== 'overwrite' && $option !== 'prompt');
    }
protected function optionSet ( string $ option ) : bool { return isset ( $ this -> allOptions [ $ option ] ) && $ this -> allOptions [ $ option ] === true || ( isset ( $ this -> allOptions [ 'all' ] ) && $ this -> allOptions [ 'all' ] === true && $ option !== 'overwrite' && $ option !== 'prompt' ) ; }
Check if option is set

@param string $option
@return bool
Check if option is set