code: public function hasMultipleEndpoints()
      {
          if ($this->hasMultiple !== null) {
              return $this->hasMultiple;
          }
  
          $endpointSet = array_flip($this->endpointMap);
  
          if (isset($this->defaultEndpoint)) {
              $endpointSet[$this->defaultEndpoint] = true;
          }
  
          if (isset($this->mainLanguagesEndpoint)) {
              $endpointSet[$this->mainLanguagesEndpoint] = true;
          }
  
          return $this->hasMultiple = count($endpointSet) > 1;
      }
docs: Returns true if current configurations has several endpoints.
  
  @return bool