is_constrained function

Check if a <dist_spec> is constrained, i.e. has a finite maximum or nonzero CDF cutoff.