Check for flat-line periods

check_flat_line(data, threshold = 0.1, hours = 4)