src/Factory/Paginator/RepositoryAbstractFactory.php
public function canCreate(ContainerInterface $container, $requestedName, array $options=null)
    {
        $class = $this->getEntityClassName($requestedName);

        return class_exists($class, true);
    }
public function canCreate(ContainerInterface $container, $requestedName, array $options=null)
    {
        $class = $this->getEntityClassName($requestedName);

        return class_exists($class, true);
    }
Can the factory create an instance for the given $requestedName service

@param ContainerInterface    $container
@param string                $requestedName
@param array|null            $options
@return bool