If the plan does allow such distributions, it must specify the criteria that define a hardship, such as paying for medical expenses ... is likely to boost your tax bill for the year.
Such circumstances might include the death or severe financial loss of the student's financial sponsor, devaluation of the currency in which the student's funding for study is held, huge medical bills ...