public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        if (strpos($requestedName, static::PREFIX) === 0) {
            $options = $serviceLocator->get('HtSettingsModule\Options\ModuleOptions');
            $namespace = $this->getNamespace($requestedName);

            return $options->hasNamespace($namespace);
        }

        return false;
    }
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        if (strpos($requestedName, static::PREFIX) === 0) {
            $options = $serviceLocator->get('HtSettingsModule\Options\ModuleOptions');
            $namespace = $this->getNamespace($requestedName);

            return $options->hasNamespace($namespace);
        }

        return false;
    }
{@inheritDoc}