public function isContentTypeUsed(APIContentType $contentType) { return $this->contentTypeHandler->getContentCount($contentType->id) > 0; }