is_distr_name function

Determines if the name is a valid distribution name