def METHOD_NAME(self):
    # Write the <sheetPr> element for Sheet level properties.
    attributes = []
    if self.filter_on:
        attributes.append(("filterMode", 1))
    if self.fit_page or self.tab_color:
        self._xml_start_tag("sheetPr", attributes)
        self._write_tab_color()
        self._write_page_set_up_pr()
        self._xml_end_tag("sheetPr")
    else:
        self._xml_empty_tag("sheetPr", attributes)