def has_update_ping_mapper()

in jobs/update_orphaning_dashboard_etl.py [0:0]


def has_update_ping_mapper(d):
    ping = d
    if (ping.update_ping_count_notify is not None and
        (ping.update_check_code_notify is not None or
         ping.update_check_no_update_notify is not None)):
        return True, ping

    return False, ping