def get_menu_def(update_available: bool, amiibo_loaded: bool):
    """
    Creates menu definition for window

    :param bool update_available: If update is available or not
    :param bool amiibo_loaded: If amiibo has been loaded or not
    :return: tuple of menu
    """
    if amiibo_loaded:
        file_tab = ['&File', ['&Open (CTRL+O)', '&Save', 'Save &As (CTRL+S)', '---', '&View Hex']]
    else:
        file_tab = ['&File', ['&Open (CTRL+O)', '!&Save', '!Save &As (CTRL+S)', '---', '!&View Hex']]

    template_tab = ['&Template', ['&Create', '&Edit', '&Load (CTRL+L)']]

    if update_available:
        settings_tab = ['&Settings', ['Select &Key(s)', 'Select &Regions', '---', '&Update',  '&Change Theme', '&About']]
    else:
        settings_tab = ['&Settings', ['Select &Key(s)', 'Select &Regions', '---', '!&Update', '&Change Theme', '&About']]
    return file_tab, template_tab, settings_tab