abc: fix check_priority_mode() return type