<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tooltip_queries(self, item, x_coord, y_coord, key_mode, tooltip, text):
 """ The function is used for setting tooltip on menus and submenus """

        tooltip.set_text(text)
        return True