zut.excel.is_excel_path

zut.excel.is_excel_path(path: str | PathLike, *, accept_table_suffix=False)

Return True if path is a str or Path object ending with .xlsx (case-insensitive), or, if accept_table_suffix is set to True, return true if path ends with .xlsx:Table where Table is the name of a table.

Return False otherwise.