original_string: protected function serviceNameExists($name)
      {
          if($this->files->exists($this->getServiceDirectory() . $this->getDirOption() . $name . '.php')) {
              return true;
          }
  
          return false;
      }
code: protected function serviceNameExists($name)
      {
          if($this->files->exists($this->getServiceDirectory() . $this->getDirOption() . $name . '.php')) {
              return true;
          }
  
          return false;
      }
code_tokens: protected function serviceNameExists ( $ name ) { if ( $ this -> files -> exists ( $ this -> getServiceDirectory ( ) . $ this -> getDirOption ( ) . $ name . '.php' ) ) { return true ; } return false ; }
docstring: Validate if service already exists
  
  @param  string $name
  @return bool
docstring_tokens: Validate if service already exists