Scalr\Service\OpenStack\Services\AbstractService::isExtensionSupported PHP Method

isExtensionSupported() public method

Checks whether given extension is supported by the service.
public isExtensionSupported ( StringType | string $extensionName ) : boolean
$extensionName StringType | string An extension name
return boolean Returns true if an extension is supported.
    public function isExtensionSupported($extensionName)
    {
        $list = $this->listExtensions();
        return isset($list[(string) $extensionName]);
    }