def METHOD_NAME(frame):
    global previous_depth_frame_number
    allowed_drops = get_allowed_drops()
    is_d400 = 0
    if product_line == "D400":
        is_d400 = 1
    test.check_frame_drops(frame, previous_depth_frame_number, allowed_drops, is_d400)
    previous_depth_frame_number = frame.get_frame_number()