code: private function hasVariants()
      {
          $metaModel = $this->factory->getMetaModel($this->providerName);
  
          if ($metaModel === null) {
              throw new \RuntimeException(sprintf('Could not find a MetaModels with the name %s', $this->providerName));
          }
  
          return $metaModel->hasVariants();
      }
docs: Determines if this MetaModel instance is subject to variant handling.
  
  @return bool true if variants are handled, false otherwise.
  
  @throws \RuntimeException When the MetaModel can not be loaded.