protected function isThereAnyProduct() { $enabledProduct = $this->productRepository->findOneBy(['enabled' => true]); return $enabledProduct instanceof ProductInterface; }