/* Function for checking if a user flag has been acquired.  */
static bool user_flag_is_acquired(ble_conn_state_user_flag_id_t flag_id)
/* Function for checking if a user flag has been acquired.  */
static bool user_flag_is_acquired(ble_conn_state_user_flag_id_t flag_id)
{
    return ((m_bcs.acquired_flags & (1 << flag_id)) != 0);
}