The test is related to whether it's incurred in generating income. Employment is one form of income, so courses related to your (income-generating) employment are generally tax deductible. Other forms of income are rent, interest, business income.
If the hairdresser in your example ran their...