original_string: public function hasSharedStrings()
      {
          $hasSharedStrings = false;
          $zip = new \ZipArchive();
  
          if ($zip->open($this->filePath) === true) {
              $hasSharedStrings = ($zip->locateName(self::SHARED_STRINGS_XML_FILE_PATH) !== false);
              $zip->close();
          }
  
          return $hasSharedStrings;
      }
code: public function hasSharedStrings()
      {
          $hasSharedStrings = false;
          $zip = new \ZipArchive();
  
          if ($zip->open($this->filePath) === true) {
              $hasSharedStrings = ($zip->locateName(self::SHARED_STRINGS_XML_FILE_PATH) !== false);
              $zip->close();
          }
  
          return $hasSharedStrings;
      }
code_tokens: public function hasSharedStrings ( ) { $ hasSharedStrings = false ; $ zip = new \ ZipArchive ( ) ; if ( $ zip -> open ( $ this -> filePath ) === true ) { $ hasSharedStrings = ( $ zip -> locateName ( self :: SHARED_STRINGS_XML_FILE_PATH ) !== false ) ; $ zip -> close ( ) ; } return $ hasSharedStrings ; }
docstring: Returns whether the XLSX file contains a shared strings XML file
  
  @return bool
docstring_tokens: Returns whether the XLSX file contains a shared strings XML file