isZero method

bool isZero()

Check if the TimeUnitDuration is 0

Implementation

bool isZero() {
  return amount == 0;
}