Should probably be changed to `if ($this->service && $this->service == $service_name)`