code: def sheets(self) -> dict[str, Any]:
      result = self.book.sheetnames
      return result
  
file_path: pandas/pandas/io/excel/_xlsxwriter.py
imports: from __future__ import annotations
  import json
  from typing import TYPE_CHECKING, Any
  from pandas.io.excel._base import ExcelWriter
  from pandas.io.excel._util import combine_kwargs, validate_freeze_panes
label_desc: Use image node_id 3 for calling the XlsxWriter obj's underlying member method code with example usage: obj.sheets() and returns: result