code: 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;
      }
docs: {@inheritDoc}