Refine check_oneshot function - we no longer need g_extern.is_oneshot
anymore