public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) { if (\Nucleus\Factory::has($requestedName)) { return true; } return false; }