added isLastBeat() to Phrase