How to Check if the Excel File is Valid in Aspose.Cells REST API

I changed the file extension of a txt file to an excel file. How to check the validity of the excel file being read

@mhore1522,
Currently, a workbook is loaded according to file format characteristics or file name suffixes.
If no exceptions are obtained during this process, we think that the file can be validity read.