I'm still thinking about how to best infer this, maybe checking for hasattr(dist, 'numargs') would work better. That's a required attribute for all distributions.
Either way would work for scipy.stats.distributions, but I need to check whether it also works for custom/user distributions. (I'm pretty sure it does and can be checked later if we run into a case where it doesn't work)