original_string: public function hasService($name)
      {
          if (!$this->serviceManager) {
              return false;
          }
  
          return $this->serviceManager->has($name, false);
      }
code: public function hasService($name)
      {
          if (!$this->serviceManager) {
              return false;
          }
  
          return $this->serviceManager->has($name, false);
      }
code_tokens: public function hasService ( $ name ) { if ( ! $ this -> serviceManager ) { return false ; } return $ this -> serviceManager -> has ( $ name , false ) ; }
docstring: Check if service exists
  
  @param string $name
docstring_tokens: Check if service exists