/** * Checks whether a ter extension with $extensionKey exists * * @param string $extensionKey * @return bool */ protected function isExtensionDownloadableFromTer($extensionKey) { return $this->extensionRepository->countByExtensionKey($extensionKey) > 0; }