When bool is true, the durations of the measures are checked.
A warning is raised when a duration seems not correct.