Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php
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;
        }
    }
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;
        }
    }
Can the current IReader read the file?

@param string $pFilename

@return bool