/**
  * {@inheritdoc}
  */
 public function offsetExists($index)
 {
     if (!$this->is_ordered) {
         $this->sort_services();
     }
     return parent::offsetExists($index);
 }