def METHOD_NAME(self, transforms):
    """
    Make sure that the transformations are all increasing.
    This condition significantly simplifies the log_survival and
    sample_conditional functions.
    """
    sign = 1.0
    for t in transforms:
        sign = sign * t.sign
    if (sign != 1.0).asnumpy().any():
        raise ValueError("The transformations must be increasing.")