/* Indicates whether the host's parent task is currently running.  */
int ble_hs_is_parent_task(void)
/* Indicates whether the host's parent task is currently running.  */
int ble_hs_is_parent_task(void)
{
    return !ble_npl_os_started() ||
           ble_npl_get_current_task_id() == ble_hs_parent_task;
}