protected function isOptionSet($provides, $options = [])
    {
        if (isset($options[$provides]) && $options[$provides] === true) {
            return true;
        } elseif (!isset($options[$provides]) && Options::options()[$provides]->isDefault()) {
            return true;
        }

        return false;
    }
protected function isOptionSet($provides, $options = [])
    {
        if (isset($options[$provides]) && $options[$provides] === true) {
            return true;
        } elseif (!isset($options[$provides]) && Options::options()[$provides]->isDefault()) {
            return true;
        }

        return false;
    }
protected function isOptionSet ( $ provides , $ options = [ ] ) { if ( isset ( $ options [ $ provides ] ) && $ options [ $ provides ] === true ) { return true ; } elseif ( ! isset ( $ options [ $ provides ] ) && Options :: options ( ) [ $ provides ] -> isDefault ( ) ) { return true ; } return false ; }
Check whether an option is set in the options aray.

@param string $provides
@param array  $options

@return bool
Check whether an option is set in the options aray .