created isDecisiveMoment() helper function