Is fancy an adjective?

The word fancy, meaning "decorative", is an adjective.