protected function listEntities(PagerInterface $pager = null, array $query_params = [], string $key_provider = 'id'): array
    {
        /** @var \Apigee\Edge\Api\Management\Entity\OrganizationInterface $organization */
        $organization = $this->getOrganizationController()->load($this->getOrganisationName());
        $isCpsEnabled = $organization->getPropertyValue('features.isCpsEnabled');

        if ($isCpsEnabled) {
            return $this->listEntitiesWithCps($pager, $query_params, $key_provider);
        } else {
            $this->triggerCpsSimulationNotice($pager);

            return $this->listEntitiesWithoutCps($pager, $query_params, $key_provider);
        }
    }