original_string: protected function isNameUnique($name)
      {
          foreach (self::$SHEETS_NAME_USED[$this->associatedWorkbookId] as $sheetIndex => $sheetName) {
              if ($sheetIndex !== $this->index && $sheetName === $name) {
                  return false;
              }
          }
  
          return true;
      }
code: protected function isNameUnique($name)
      {
          foreach (self::$SHEETS_NAME_USED[$this->associatedWorkbookId] as $sheetIndex => $sheetName) {
              if ($sheetIndex !== $this->index && $sheetName === $name) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: protected function isNameUnique ( $ name ) { foreach ( self :: $ SHEETS_NAME_USED [ $ this -> associatedWorkbookId ] as $ sheetIndex => $ sheetName ) { if ( $ sheetIndex !== $ this -> index && $ sheetName === $ name ) { return false ; } } return true ; }
docstring: Returns whether the given name is unique.
  
  @param string $name
  @return bool TRUE if the name is unique, FALSE otherwise.
docstring_tokens: Returns whether the given name is unique .