public function isAvailable(Config $config) : bool
    {
        foreach ($this->options->all() as $option) {

            if ($option instanceof Di\DiAvailabilityAnnotation && false === $option->isAvailable($config)) {
                return false;
            }
        }

        return true;
    }
public function isAvailable(Config $config) : bool
    {
        foreach ($this->options->all() as $option) {

            if ($option instanceof Di\DiAvailabilityAnnotation && false === $option->isAvailable($config)) {
                return false;
            }
        }

        return true;
    }
@param Config $config

@return bool