def _is_installed(self, content): if 'instance' in content: if IRoot.implementedBy(content['instance']): return False return ( not self._is_forbidden(content['name']) and extensionRegistry.is_installed(content['product'], self.root)) return False
def _is_installed(self, content): if 'instance' in content: if IRoot.implementedBy(content['instance']): return False return (not self._is_forbidden(content['name']) and extensionRegistry.is_installed(content['product'], self.root)) return False
def is_installed(self, name): """Is extension installed? """ root = self.get_root() return extensionRegistry.is_installed(name, root)
def is_installed(self, name): """Is extension installed? """ root = self.get_root() return extensionRegistry.is_installed(name, root)