Can you receive the american opportunity credit if you go to a trade school?

Beauty school to be exact