code: public function canRead($pFilename)
      {
          File::assertFile($pFilename);
  
          try {
              // Use ParseXL for the hard work.
              $ole = new OLERead();
  
              // get excel data
              $ole->read($pFilename);
  
              return true;
          } catch (PhpSpreadsheetException $e) {
              return false;
          }
      }
docs: Can the current IReader read the file?
  
  @param string $pFilename
  
  @return bool