public function hasOption($key, $option)
    {
        return isset($this->container[$key]) && array_key_exists($option, $this->container[$key]);
    }
public function hasOption($key, $option)
    {
        return isset($this->container[$key]) && array_key_exists($option, $this->container[$key]);
    }
public function hasOption ( $ key , $ option ) { return isset ( $ this -> container [ $ key ] ) && array_key_exists ( $ option , $ this -> container [ $ key ] ) ; }
Checks whether provided key has an option

@param string $key
@param string $option
@return boolean
Checks whether provided key has an option