Is ghastly a adjitive?

Can you answer this question?