is_distr function

Determine if the object is a valid distribution