Generic function to determine if the distribution is a valid probability
distribution, i.e. if the support is not empty and at least one observation
has been made.
Usage
valid(d)
Arguments
d
Dist object representing the distribution.
Value
Logical representing the validity of the distribution.