How to find whether the excel is protected or not

I need to find if the excel is protected or unprotected

@sruthesanju

Use Excel Read Range or Workbook Read Range activity to read the excel file without providing password. If it throws error then it’s protected file else not.