def _CheckForRemovedContactsReset(tester, user_id):
 validator = tester.validator
 notifications = validator._RunAsync(Notification.RangeQuery, validator.client, user_id, range_desc=None, limit=1, col_names=None, scan_forward=False)
 invalidate = json.loads(notifications[0].invalidate)
 removed_contacts_reset = (('contacts' in invalidate) and ('all' in invalidate['contacts']) and invalidate['contacts']['all'])
 return removed_contacts_reset

def _CheckForRemovedContactsReset ( tester , user_id ) : validator = tester . validator notifications = validator . _RunAsync ( Notification . RangeQuery , validator . client , user_id , range_desc = None , limit = 1 , col_names = None , scan_forward = False ) invalidate = json . loads ( notifications [ 0 ] . invalidate ) removed_contacts_reset = ( ( 'contacts' in invalidate ) and ( 'all' in invalidate [ 'contacts' ] ) and invalidate [ 'contacts' ] [ 'all' ] ) return removed_contacts_reset
check if the last notification is a contacts notification with a none start_key .