protected function checkOptionsArray(array $options, array $keys)
    {
        foreach ($keys as $intOption) {
            if (isset($options[$intOption]) && !is_array($options[$intOption])) {
                throw new InvalidOptionException($this, $options);
            }
        }
    }