Check whether the distribution selected is available.
CheckDist(dist)
dist
String, distribution name.
None.