protected function extensionEnabled($extension) { return !in_array($extension, $this->disabledExtensions, true); }