def METHOD_NAME(self, menu_technique: MenuItem[Technique]) -> None:
    """
    Called when player has selected something.
    Currently, opens a new menu depending on the state context.
    Parameters:
        menu_technique: Selected menu technique.
    """
    tech = menu_technique.game_object
    if not any(
        menu_technique.game_object.validate(m)
        for m in local_session.player.monsters
    ):
        msg = T.format("item_no_available_target", {"name": tech.name})
        tools.open_dialog(local_session, [msg])
    elif tech.usable_on is False:
        msg = T.format("item_cannot_use_here", {"name": tech.name})
        tools.open_dialog(local_session, [msg])
    else:
        self.open_confirm_use_menu(tech)