/* Function for checking that the whitelist has entries.  */
static bool whitelist_has_entries(ble_gap_whitelist_t const *whitelist)
/* Function for checking that the whitelist has entries.  */
static bool whitelist_has_entries(ble_gap_whitelist_t const *whitelist)
{
    if ((whitelist->addr_count != 0) || (whitelist->irk_count != 0))
    {
        return true;
    }
    return false;
}