def keymap_execute(context, keyvalue, keydown=True):
    """
    Execute keybind accelerator if it exists and return true

    Else return false
    """
    if keyvalue not in context.keymap:
        return False
    action = context.keymap[keyvalue]
    if keydown or action.startswith("+"):
        if not keydown and action.startswith("+"):
            action = "-" + action[1:]
        for cmd in action.split(";"):
            context("%s\n" % cmd)
    return True