public function hasOption($option) {
        if (!is_string($option)) {
            throw new \Console\Exception\InvalidArgument('Parameter must be string.');
        }

        return isset($this->_options[$option]);
    }
public function hasOption($option) {
        if (!is_string($option)) {
            throw new \Console\Exception\InvalidArgument('Parameter must be string.');
        }

        return isset($this->_options[$option]);
    }
public function hasOption ( $ option ) { if ( ! is_string ( $ option ) ) { throw new \ Console \ Exception \ InvalidArgument ( 'Parameter must be string.' ) ; } return isset ( $ this -> _options [ $ option ] ) ; }
Check if option exists

@access  public
@param   string  $option     Option name
@return  boolean True / False
@throws  \Console\Exception\InvalidArgument Parameter must be string
Check if option exists