<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_context_menu(self, extended):
 """Create the context menu."""

        menu = Gtk.Menu()
        self._menu(menu, extended)
        return menu